[Mm 37198] enable global sandboxing to increase security (#1667)

* prevent creating new windows from popup windows

* enable sandbox

* fix windows detection logic

* disable on testing environment

Co-authored-by: = <=>
This commit is contained in:
Guillermo Vayá
2021-07-23 16:07:48 +02:00
committed by GitHub
parent c567449854
commit 4e75007362
8 changed files with 24 additions and 10 deletions

View File

@@ -10,9 +10,6 @@ declare global {
on: (channel: string, listener: (...args: any[]) => void) => void;
invoke: typeof ipcRenderer.invoke;
};
os: {
isWindows10: boolean;
};
process: {
platform: NodeJS.Platform;
env: {