Tray Break Thumbar Fix

using  win.minimize()
and win.setSkipTaskbar(bool)
instead of win.hide() / win.show()
This commit is contained in:
Araxeus
2021-03-22 01:26:20 +02:00
parent 2c13ef40e2
commit 41796aec06
2 changed files with 10 additions and 3 deletions

View File

@ -286,7 +286,8 @@ app.on("ready", () => {
// Hide the window instead of quitting (quit is available in tray options)
if (!forceQuit) {
event.preventDefault();
mainWindow.hide();
mainWindow.minimize()
mainWindow.setSkipTaskbar(true);
}
});
}