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: fix start command
Abdullah Atta941a542cc68c
diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex 2fb8aa017..ff16dd837 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -38,7 +38,7 @@"dmg-license": "^1.0.11"},"scripts": {- "start": "node scripts/dev.ts",+ "start": "node scripts/dev.mjs","staging": "node scripts/build.mjs --run","release": "node scripts/build.mjs","build": "tsc",diff --git a/apps/desktop/scripts/dev.mjs b/apps/desktop/scripts/dev.mjsindex bcf85a8b2..86c4b2911 100644--- a/apps/desktop/scripts/dev.mjs+++ b/apps/desktop/scripts/dev.mjs@@ -103,7 +103,7 @@ function spawnAndWaitUntil(cmd, cwd, predicate) {const s = spawn(cmd[0], cmd.slice(1), {cwd,env: { ...process.env, NO_COLOR: "true" },- shell: "pwsh.exe"+ shell: false});RUNNING_PROCESSES.push(s);@@ -123,7 +123,7 @@ async function exec(cmd) {return execSync(cmd, {env: process.env,stdio: "inherit",- shell: "pwsh.exe"+ shell: false});} catch {//ignore@@ -137,12 +137,13 @@ function execAsync(cmd, args, restartable, onExit) {const proc = spawn(cmd, args, {stdio: "inherit",env: process.env,- shell: "pwsh.exe"+ shell: false});const array = restartable ? RESTARTABLE_PROCESSES : RUNNING_PROCESSES;array.push(proc);proc.on("exit", (code, signal) => {+ console.log(cmd, ...args, "closed with code", code);if (code === 0 && !signal) {array.splice(array.indexOf(proc), 1);onExit && onExit();