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
ci: set package_root to ./desktop
thecodrr667c9044f188
diff --git a/apps/web/.github/workflows/release.yml b/apps/web/.github/workflows/release.ymlindex 0b8c22389..57e00e2ab 100644--- a/apps/web/.github/workflows/release.yml+++ b/apps/web/.github/workflows/release.yml@@ -29,12 +29,10 @@ jobs:mkdir -p ~/private_keys/echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8- - name: Change directory to ./desktop- run: cd desktop-- name: Build/release Electron appuses: samuelmeuli/action-electron-builder@v1with:+ package_root: ./desktop# GitHub token, automatically provided to the action# (No need to define this secret in the repo settings)github_token: ${{ secrets.PERSONAL_GH_TOKEN }}diff --git a/apps/web/desktop/scripts/publish.sh b/apps/web/desktop/scripts/publish.shindex f525da837..af2d35204 100755--- a/apps/web/desktop/scripts/publish.sh+++ b/apps/web/desktop/scripts/publish.sh@@ -1,6 +1,12 @@# Go to notes-web directorycd ../+# Generate the web app build+if ! yarn install; then+ echo "Failed to install web app dependencies."+ exit+fi+# Generate the web app buildif ! yarn build:desktop; thenecho "Failed to build web app."@@ -8,7 +14,7 @@ if ! yarn build:desktop; thenfi# Change back to desktop directory-cd desktop+cd ./desktop# Copy build files to desktop folder# NOTE: we have to do this because electron-builder cannot work in parent directories.