Skip to content

Commit

Permalink
patch: prevent rebuild of native deps by @electron/rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
aethernet committed Apr 22, 2024
1 parent dc5c68a commit 003abfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ const config: ForgeConfig = {
},
...osxSigningConfig,
},
rebuildConfig: {},
rebuildConfig: {
onlyModules: [], // prevent rebuilding *any* native modules as they won't be used by electron but by the sidecar
},
makers: [
new MakerZIP(),
new MakerSquirrel({
Expand Down

0 comments on commit 003abfb

Please sign in to comment.