mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-24 02:28:15 +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', () => {
|
||||
setTimeout(() => {
|
||||
splashWindow.close();
|
||||
mainWindow.show();
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
// This has to be here otherwise webContents is invalid
|
||||
|
|
|
@ -331,12 +331,10 @@ $(() => {
|
|||
// Hide FPS Unlock until Prefix is installed
|
||||
|
||||
if (!LauncherLib.isPrefixInstalled(constants.prefixDir.get()))
|
||||
{
|
||||
$('#fps-unlocker').toggle();
|
||||
|
||||
if (!$('#fps-unlocker').is(':visible'))
|
||||
else if (LauncherLib.isPrefixInstalled(constants.prefixDir.get()) && !$('#fps-unlocker').is(':visible'))
|
||||
$('#fps-unlocker').toggle();
|
||||
}
|
||||
|
||||
if (LauncherLib.getConfig('fpsunlock'))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue