Skip to content

Commit

Permalink
Disable Electron-augmented window.open
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed May 23, 2018
1 parent 34f423b commit 3a1d64b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ function createWindow() {
nodeIntegrationInWorker: false,
// sandbox: true,
preload: path.join(__dirname, 'preload.js'),
nativeWindowOpen: true,
},
icon: path.join(__dirname, 'images', 'icon_256.png'),
},
Expand Down Expand Up @@ -418,6 +419,7 @@ function showAbout() {
nodeIntegration: false,
nodeIntegrationInWorker: false,
preload: path.join(__dirname, 'preload.js'),
nativeWindowOpen: true,
},
parent: mainWindow,
};
Expand Down

0 comments on commit 3a1d64b

Please sign in to comment.