mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-20 00:41:48 +03:00
Release fixes
- returned back a small timeout before hiding loading screen - fixed an issue with fps unlocker option
This commit is contained in:
parent
6e7cad2607
commit
7b618b9b2e
2 changed files with 6 additions and 6 deletions
2
entry.js
2
entry.js
|
@ -126,8 +126,10 @@ app.whenReady().then(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.handle('loaded', () => {
|
ipcMain.handle('loaded', () => {
|
||||||
|
setTimeout(() => {
|
||||||
splashWindow.close();
|
splashWindow.close();
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
|
}, 1000);
|
||||||
});
|
});
|
||||||
|
|
||||||
// This has to be here otherwise webContents is invalid
|
// This has to be here otherwise webContents is invalid
|
||||||
|
|
|
@ -331,12 +331,10 @@ $(() => {
|
||||||
// Hide FPS Unlock until Prefix is installed
|
// Hide FPS Unlock until Prefix is installed
|
||||||
|
|
||||||
if (!LauncherLib.isPrefixInstalled(constants.prefixDir.get()))
|
if (!LauncherLib.isPrefixInstalled(constants.prefixDir.get()))
|
||||||
{
|
|
||||||
$('#fps-unlocker').toggle();
|
$('#fps-unlocker').toggle();
|
||||||
|
|
||||||
if (!$('#fps-unlocker').is(':visible'))
|
else if (LauncherLib.isPrefixInstalled(constants.prefixDir.get()) && !$('#fps-unlocker').is(':visible'))
|
||||||
$('#fps-unlocker').toggle();
|
$('#fps-unlocker').toggle();
|
||||||
}
|
|
||||||
|
|
||||||
if (LauncherLib.getConfig('fpsunlock'))
|
if (LauncherLib.getConfig('fpsunlock'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue