Skip to content

Commit db9a699

Browse files
parthmodi152claude
andcommitted
Revert to sandbox: false for preload compatibility
sandbox: true breaks @electron-toolkit/preload which needs full Node.js require() unavailable in sandboxed preloads. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f8a8845 commit db9a699

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function createWindow(): void {
3030
autoHideMenuBar: true,
3131
webPreferences: {
3232
preload: join(__dirname, '../preload/index.js'),
33-
sandbox: true,
33+
sandbox: false,
3434
},
3535
})
3636

0 commit comments

Comments
 (0)