A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
desktop: publish app to snapcraft
Abdullah Atta7b48499527c7
diff --git a/.github/workflows/desktop.publish.yml b/.github/workflows/desktop.publish.ymlindex 36158489e..b15507081 100644--- a/.github/workflows/desktop.publish.yml+++ b/.github/workflows/desktop.publish.yml@@ -77,6 +77,12 @@ jobs:name: buildpath: ./apps/web/desktop/build+ - name: Install Snapcraft+ uses: samuelmeuli/action-snapcraft@v1+ if: startsWith(matrix.os, 'linux')+ with:+ snapcraft_token: ${{ secrets.snapcraft_token }}+- name: Prepare for app notarization (macOS)if: startsWith(matrix.os, 'macos')# Import Apple API key for app notarization on macOSdiff --git a/apps/web/desktop/package.json b/apps/web/desktop/package.jsonindex 6bf10f962..eb488eeb8 100644--- a/apps/web/desktop/package.json+++ b/apps/web/desktop/package.json@@ -127,13 +127,19 @@"target": ["AppImage","deb",- "rpm"+ "rpm",+ "snap"],"category": "Office","icon": "assets/icons/app.icns","description": "Your private note taking space","executableName": "Notesnook"},+ "snap": {+ "autoStart": false,+ "confinement": "strict",+ "allowNativeWayland": true+ },"extraResources": ["./assets/**"],@@ -141,10 +147,18 @@"buildResources": "assets","output": "./dist/"},- "publish": {- "provider": "github",- "repo": "notesnook",- "owner": "streetwriters"- }+ "publish": [+ {+ "provider": "github",+ "repo": "notesnook",+ "owner": "streetwriters"+ },+ {+ "provider": "snapStore",+ "repo": "notesnook",+ "channels": "stable",+ "publishAutoUpdate": false+ }+ ]}}