diff --git a/src/ts/Launcher.ts b/src/ts/Launcher.ts index aa569dd..eb0498f 100644 --- a/src/ts/Launcher.ts +++ b/src/ts/Launcher.ts @@ -33,6 +33,14 @@ export default class Launcher public constructor(onMount) { + Windows.open('splash', { + title: 'Splash', + width: 300, + height: 400, + borderless: true, + exitProcessOnClose: false + }); + this.tray = new Tray(`/public/icons/256x256.png`); this.tray.update(); diff --git a/src/ts/launcher/State.ts b/src/ts/launcher/State.ts index 855bfd2..1ebb732 100644 --- a/src/ts/launcher/State.ts +++ b/src/ts/launcher/State.ts @@ -94,14 +94,6 @@ export default class State }); }; - Windows.open('splash', { - title: 'Splash', - width: 300, - height: 400, - borderless: true, - exitProcessOnClose: false - }); - this.update().then(async () => { // Close splash screen IPC.write('launcher-loaded');