mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-19 16:33:04 +03:00
fix patch
This commit is contained in:
parent
7a07163b08
commit
8dadb08cd2
1 changed files with 4 additions and 2 deletions
|
@ -386,7 +386,8 @@ export class Genshinlib
|
|||
let patcherProcess = exec(`yes yes | ${path.join(patchDir, 'patch.sh')}`, {
|
||||
cwd: this.gameDir,
|
||||
env: {
|
||||
...process.env
|
||||
...process.env,
|
||||
WINEPREFIX: this.prefixDir
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -397,7 +398,8 @@ export class Genshinlib
|
|||
let patcherAntiCrashProcess = exec(`yes | ${path.join(patchDir, 'patch_anti_logincrash.sh')}`, {
|
||||
cwd: this.gameDir,
|
||||
env: {
|
||||
...process.env
|
||||
...process.env,
|
||||
WINEPREFIX: this.prefixDir
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue