Skip to content

Commit

Permalink
Enable node integration for browser window
Browse files Browse the repository at this point in the history
The default values have been flipped for security in
electron/electron#16235
  • Loading branch information
Deepak Mohan committed May 8, 2019
1 parent 4a2d0b1 commit 9cacc3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vs/code/electron-main/window.ts
Expand Up @@ -139,7 +139,8 @@ export class CodeWindow extends Disposable implements ICodeWindow {
// want to enforce that Code stays in the foreground. This triggers a disable_hidden_
// flag that Electron provides via patch:
// https://github.com/electron/libchromiumcontent/blob/master/patches/common/chromium/disable_hidden.patch
backgroundThrottling: false
backgroundThrottling: false,
nodeIntegration: true
}
};

Expand Down

0 comments on commit 9cacc3e

Please sign in to comment.