Small change in splash screen opening timing

This commit is contained in:
Observer KRypt0n_ 2022-01-30 21:35:06 +02:00
parent 0868bf13ef
commit a2b2cbf14d
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
2 changed files with 8 additions and 8 deletions

View file

@ -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();

View file

@ -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');