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: always install both arm64 and x64 packages on all platforms
Abdullah Atta25f74ff04d03
diff --git a/apps/desktop/scripts/build.mjs b/apps/desktop/scripts/build.mjsindex 674ccc538..caba8dc5d 100644--- a/apps/desktop/scripts/build.mjs+++ b/apps/desktop/scripts/build.mjs@@ -63,9 +63,10 @@ if (args.variant === "mas") {await exec(`yarn run bundle`);}-if (process.platform === "darwin") {- await exec(`npm i sqlite-better-trigram-darwin-x64 --force`);- await exec(`npm i sqlite-better-trigram-darwin-arm64 --force`);+if (process.arch === "arm64") {+ await exec(`npm i sqlite-better-trigram-${process.platform}-x64 --force`);+} else if (process.arch === "x64") {+ await exec(`npm i sqlite-better-trigram-${process.platform}-arm64 --force`);}await exec(`yarn run build`);