patch: prevent rebuild of native deps by @electron/rebuild

This commit is contained in:
Edwin Joassart 2024-04-19 16:17:56 +02:00
parent dc5c68a6a1
commit 003abfb88f

View File

@ -52,7 +52,9 @@ const config: ForgeConfig = {
}, },
...osxSigningConfig, ...osxSigningConfig,
}, },
rebuildConfig: {}, rebuildConfig: {
onlyModules: [], // prevent rebuilding *any* native modules as they won't be used by electron but by the sidecar
},
makers: [ makers: [
new MakerZIP(), new MakerZIP(),
new MakerSquirrel({ new MakerSquirrel({