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: use platform specific path seperator
thecodrrd907f432668b
diff --git a/apps/web/desktop/scripts/publish.mjs b/apps/web/desktop/scripts/publish.mjsindex f4361ecdb..86908a9ae 100755--- a/apps/web/desktop/scripts/publish.mjs+++ b/apps/web/desktop/scripts/publish.mjs@@ -1,15 +1,17 @@+const { sep } = require("path");+console.log(`Script directory:`, __dirname);-cd(`${__dirname}/../../`);+cd(`${__dirname}${sep}..${sep}..${sep}`);await $`yarn install`;await $`yarn build:desktop`;-cd(`${__dirname}/../`);+cd(`${__dirname}${sep}..${sep}`);-await $`yarn copyfiles -a ../build ./build`;+await $`yarn copyfiles -a ..${sep}build .${sep}build`;await $`yarn bundle`;-await $`electron-builder -c.extraMetadata.main=./build/electron.js`;+await $`electron-builder -c.extraMetadata.main=.${sep}build${sep}electron.js`;