mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-29 21:18:17 +03:00
Small change in splash screen opening timing
This commit is contained in:
parent
0868bf13ef
commit
a2b2cbf14d
2 changed files with 8 additions and 8 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue