1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

upgrade to electron 5

This commit is contained in:
Kyle Spearrin
2019-07-24 14:32:16 -04:00
parent 15cf7b433a
commit e89f295e1d
3 changed files with 19 additions and 29 deletions

View File

@@ -102,6 +102,10 @@ export class WindowMain {
titleBarStyle: this.hideTitleBar && process.platform === 'darwin' ? 'hiddenInset' : undefined,
show: false,
alwaysOnTop: this.enableAlwaysOnTop,
webPreferences: {
nodeIntegration: true,
webviewTag: true,
},
});
if (this.windowStates[Keys.mainWindowSize].isMaximized) {