parent
c587e93c56
commit
ed2361ff22
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,6 @@ function createMainWindow() {
|
||||||
|
|
||||||
const win = (mainWin = new BrowserWindow({
|
const win = (mainWin = new BrowserWindow({
|
||||||
show: false,
|
show: false,
|
||||||
autoHideMenuBar: true,
|
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: false,
|
nodeIntegration: false,
|
||||||
sandbox: false,
|
sandbox: false,
|
||||||
|
@ -272,6 +271,7 @@ function createMainWindow() {
|
||||||
: {}),
|
: {}),
|
||||||
...getWindowBoundsOptions()
|
...getWindowBoundsOptions()
|
||||||
}));
|
}));
|
||||||
|
win.setMenuBarVisibility(false);
|
||||||
|
|
||||||
win.on("close", e => {
|
win.on("close", e => {
|
||||||
if (isQuitting || Settings.store.minimizeToTray === false || Settings.store.tray === false) return;
|
if (isQuitting || Settings.store.minimizeToTray === false || Settings.store.tray === false) return;
|
||||||
|
|
Loading…
Reference in a new issue