Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

desktop: set snap plugs explicitly to avoid manual store review

Abdullah Attaf82daf7dc8ef
diff --git a/apps/desktop/electron-builder.config.js b/apps/desktop/electron-builder.config.js
index 76733fe8d..b72164240 100644
--- a/apps/desktop/electron-builder.config.js
+++ b/apps/desktop/electron-builder.config.js
@@ -211,7 +211,22 @@ module.exports = {
base: "core24",
core24: {
confinement: "strict",
- autoStart: false
+ autoStart: false,
+ // the default plugs add browser-support with allow-sandbox, which the Snap Store holds for manual review
+ plugs: [
+ "desktop",
+ "desktop-legacy",
+ "home",
+ "x11",
+ "wayland",
+ "unity7",
+ "browser-support",
+ "network",
+ "gsettings",
+ "audio-playback",
+ "pulseaudio",
+ "opengl"
+ ]
}
},
extraResources: ["app-update.yml", "./assets/**"],