A local-first personal finance app
:electron: Building bcrypt for correct architecture during packaging (#5623)
Michael Clarkcae8fa4e6f60
diff --git a/packages/desktop-electron/beforePackHook.ts b/packages/desktop-electron/beforePackHook.tsindex 37723cff84..fa9bd755e4 100644--- a/packages/desktop-electron/beforePackHook.ts+++ b/packages/desktop-electron/beforePackHook.ts@@ -23,10 +23,10 @@ const beforePackHook = async (context: AfterPackContext) => {electronVersion,force: true,projectRootPath,- onlyModules: ['better-sqlite3'],+ onlyModules: ['better-sqlite3', 'bcrypt'],});- console.info(`Rebuilt better-sqlite3 with ${arch}!`);+ console.info(`Rebuilt better-sqlite3 and bcrypt with ${arch}!`);if (context.packager.platform.name === 'windows') {console.info(`Windows build - copying appx files...`);diff --git a/upcoming-release-notes/5623.md b/upcoming-release-notes/5623.mdnew file mode 100644index 0000000000..565481888f--- /dev/null+++ b/upcoming-release-notes/5623.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [MikesGlitch]+---++Fix sync server failing to start on arm64 macs