mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-20 17:01:47 +03:00
(probably) fixed issue with launcher's window not disappearing
This commit is contained in:
parent
1dfafd3da4
commit
41260f3dfb
1 changed files with 2 additions and 3 deletions
|
@ -200,8 +200,7 @@ export default (launcher: Launcher): Promise<void> => {
|
||||||
cwd: await constants.paths.gameDir
|
cwd: await constants.paths.gameDir
|
||||||
});
|
});
|
||||||
|
|
||||||
// Stop monitoring of the process
|
// Stop monitoring of the process output
|
||||||
process.runningInterval = null;
|
|
||||||
process.outputInterval = null;
|
process.outputInterval = null;
|
||||||
|
|
||||||
// Game was started by the launcher.bat file
|
// Game was started by the launcher.bat file
|
||||||
|
@ -276,7 +275,7 @@ export default (launcher: Launcher): Promise<void> => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
setTimeout(waiter, 5000);
|
process.finish(() => waiter());
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
|
|
Loading…
Reference in a new issue