From 943926d409715dd4fcf3141f5c02939000aee7e1 Mon Sep 17 00:00:00 2001 From: Komediruzecki Date: Sat, 21 Nov 2020 19:52:00 +0100 Subject: [PATCH] Add snap packaging option Add snap packaging with electron-builder Specified removable-media as additional interface Specified snap confinement as strict Fix unused icon in NotePageToolbar --- package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4e2a7039f9..d386c363bf 100644 --- a/package.json +++ b/package.json @@ -245,12 +245,21 @@ "entitlementsInherit": "macOs/entitlements.mac.plist", "entitlements": "macOs/entitlements.mac.plist" }, + "snap": { + "confinement": "strict", + "plugs": [ + "default", + "removable-media" + ] + }, "linux": { + "executableName": "boostnote-next", "icon": "static/icon.icns", "target": [ "deb", "rpm", - "AppImage" + "AppImage", + "snap" ] }, "win": {