Change launcherDir location

This commit is contained in:
Maroxy 2021-10-24 12:35:54 +02:00
parent 69d2f2dcc8
commit 351c883704

View file

@ -47,7 +47,7 @@ export class Genshinlib
public static readonly patchDir: string = path.join(path.dirname(__dirname), '..', 'patch'); public static readonly patchDir: string = path.join(path.dirname(__dirname), '..', 'patch');
public static readonly patchJson: string = path.join(this.patchDir, 'patch.json'); public static readonly patchJson: string = path.join(this.patchDir, 'patch.json');
public static readonly launcherDir: string = path.join(os.homedir(), 'genshin-impact-launcher'); public static readonly launcherDir: string = path.join(os.homedir(), '.local', 'share', 'anime-game-launcher');
public static readonly tmpPatchDir: string = path.join(this.launcherDir, 'gi-on-linux'); public static readonly tmpPatchDir: string = path.join(this.launcherDir, 'gi-on-linux');