fix: disable npm native module rebuild in electron-builder

All production deps (sql.js, ws, xml2js, etc.) are pure JS or WASM —
none need native rebuilding for the Electron runtime. Disabling npmRebuild
skips the @electron/rebuild step that was failing to find
app-builder-lib/out/util/rebuild/remote-rebuild.js in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
SRS IT
2026-03-29 12:41:12 -04:00
parent 0aac2b60eb
commit fb688bdfd3
+1
View File
@@ -40,6 +40,7 @@
"build": { "build": {
"appId": "com.srsit.dibbywemomanager", "appId": "com.srsit.dibbywemomanager",
"productName": "Dibby Wemo Manager", "productName": "Dibby Wemo Manager",
"npmRebuild": false,
"directories": { "directories": {
"output": "dist" "output": "dist"
}, },