security: enable preload sandbox on game and tab windows
This commit is contained in:
+1
-1
@@ -307,7 +307,7 @@ async function launchApp(): Promise<void> {
|
||||
session: ses,
|
||||
contextIsolation: false,
|
||||
nodeIntegration: false,
|
||||
sandbox: false,
|
||||
sandbox: true,
|
||||
spellcheck: false,
|
||||
backgroundThrottling: false,
|
||||
},
|
||||
|
||||
@@ -253,7 +253,7 @@ export class TabManager {
|
||||
session: this.ses,
|
||||
contextIsolation: false,
|
||||
nodeIntegration: false,
|
||||
sandbox: false,
|
||||
sandbox: true,
|
||||
spellcheck: false,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user