Override hide(),show(),isVisible from inside plugin

instead of changing source code
This commit is contained in:
Araxeus
2021-03-22 04:01:19 +02:00
parent df8c77cd3e
commit 6427b3406c
4 changed files with 17 additions and 9085 deletions

View File

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