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: include preload script when comparing bundles
Abdullah Attadd06e5fd52dd
diff --git a/apps/desktop/scripts/dev.mjs b/apps/desktop/scripts/dev.mjsindex c857395d5..52068a5fc 100644--- a/apps/desktop/scripts/dev.mjs+++ b/apps/desktop/scripts/dev.mjs@@ -169,9 +169,10 @@ async function cleanup() {}async function isBundleSame() {- const bundle = await fs.readFile(- path.join(__dirname, "..", "build", "electron.js")- );+ const bundle = Buffer.concat([+ await fs.readFile(path.join(__dirname, "..", "build", "electron.js")),+ await fs.readFile(path.join(__dirname, "..", "build", "preload.js"))+ ]);const hashSum = crypto.createHash("sha256");hashSum.update(bundle);