fix: redundant call
Signed-off-by: Mihai <cristian@mihaimuresan.com>
This commit is contained in:
parent
4f2fde790a
commit
59eb735a40
|
|
@ -86,10 +86,6 @@ export function createMainWindow() {
|
||||||
// load the entrypoint
|
// load the entrypoint
|
||||||
mainWindow.loadURL(BUILD_URL.toString());
|
mainWindow.loadURL(BUILD_URL.toString());
|
||||||
|
|
||||||
if (startHidden) {
|
|
||||||
mainWindow.hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
// minimise window to tray
|
// minimise window to tray
|
||||||
mainWindow.on("close", (event) => {
|
mainWindow.on("close", (event) => {
|
||||||
if (!shouldQuit && config.minimiseToTray) {
|
if (!shouldQuit && config.minimiseToTray) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue