fix(desktop): upgrade better-sqlite3 to 13 so the Electron 43 installer builds and opens its database
better-sqlite3 12.8.0 has no prebuild for Electron 43 (ABI 148) and does not compile against its V8 API, so the v1.18.0 installer build stopped in fix-native-abi and was never published. 13.2.0 ships Node-API prebuilds in the package; one binary runs on Node and Electron. - fix-native-abi.mjs: nothing to swap when the packaged module is a Node-API prebuild. - verify-native-abi.mjs: require the target prebuild, fail on a shadowing build/Release binary, and open a database through the packaged module. - electron-builder: leave out the linux prebuilds we do not ship. Verified: desktop 2,933 tests on Node 24, and WAL/transaction/FTS5 queries in an Electron 43.8.10 main process.
This commit is contained in:
parent
a117bc0d09
commit
fb5f76f57f
9 changed files with 88 additions and 255 deletions
|
|
@ -59,7 +59,7 @@
|
|||
"@mui/material": "^7.0.0",
|
||||
"@nut-tree-fork/nut-js": "^4.2.6",
|
||||
"@supabase/supabase-js": "^2.45.0",
|
||||
"better-sqlite3": "^12.8.0",
|
||||
"better-sqlite3": "^13.2.0",
|
||||
"docx": "^9.6.1",
|
||||
"drizzle-orm": "^0.45.2",
|
||||
"electron-log": "^5.2.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue