Add option to not minimize to tray
This commit is contained in:
@@ -222,7 +222,7 @@ export function createMainWindow() {
|
||||
});
|
||||
|
||||
win.on("close", e => {
|
||||
if (isQuitting) return;
|
||||
if (isQuitting || Settings.minimizeToTray === false) return;
|
||||
|
||||
e.preventDefault();
|
||||
win.hide();
|
||||
|
||||
Reference in New Issue
Block a user