mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-19 16:33:04 +03:00
Create runners directory if not exist
This commit is contained in:
parent
acef1070d6
commit
7a07163b08
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ import { LauncherUI } from './LauncherUI';
|
|||
if (!fs.existsSync(Genshinlib.prefixDir))
|
||||
fs.mkdirSync(Genshinlib.prefixDir, { recursive: true });
|
||||
|
||||
if (!fs.existsSync(Genshinlib.runnersDir))
|
||||
fs.mkdirSync(Genshinlib.runnersDir, { recursive: true });
|
||||
|
||||
$(() => {
|
||||
if (Genshinlib.version !== null)
|
||||
document.title = 'Genshin Impact Linux Launcher - ' + Genshinlib.version;
|
||||
|
|
Loading…
Reference in a new issue