mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-01-01 22:47:19 +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)
|
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 = new Tray(`/public/icons/256x256.png`);
|
||||||
this.tray.update();
|
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 () => {
|
this.update().then(async () => {
|
||||||
// Close splash screen
|
// Close splash screen
|
||||||
IPC.write('launcher-loaded');
|
IPC.write('launcher-loaded');
|
||||||
|
|
Loading…
Reference in a new issue