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,
|
session: ses,
|
||||||
contextIsolation: false,
|
contextIsolation: false,
|
||||||
nodeIntegration: false,
|
nodeIntegration: false,
|
||||||
sandbox: false,
|
sandbox: true,
|
||||||
spellcheck: false,
|
spellcheck: false,
|
||||||
backgroundThrottling: false,
|
backgroundThrottling: false,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ export class TabManager {
|
|||||||
session: this.ses,
|
session: this.ses,
|
||||||
contextIsolation: false,
|
contextIsolation: false,
|
||||||
nodeIntegration: false,
|
nodeIntegration: false,
|
||||||
sandbox: false,
|
sandbox: true,
|
||||||
spellcheck: false,
|
spellcheck: false,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user