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>
app-builder runs npm install --production inside the app dir during
packaging. node-windows has a Windows-only postinstall script that
fails on Linux with ENOENT. Moving it to optionalDependencies makes
npm treat install failures as non-fatal on non-Windows platforms.
Also simplify build-linux.yml — removes unnecessary app-builder binary
verification steps that were masking the actual root cause.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>