mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-01-01 22:47:19 +03:00
Fixed patch repo changes pulling
This commit is contained in:
parent
238b6fa132
commit
2a533889a9
1 changed files with 2 additions and 2 deletions
|
@ -63,8 +63,8 @@ class Stream
|
||||||
// Run `git clone` if the patch repo is not downloaded
|
// Run `git clone` if the patch repo is not downloaded
|
||||||
// or `git pull` to fetch changes
|
// or `git pull` to fetch changes
|
||||||
await fs.exists(`${launcherDir}/patch`) ?
|
await fs.exists(`${launcherDir}/patch`) ?
|
||||||
await Neutralino.os.execCommand(`cd "${path.addSlashes(launcherDir)}" && git pull`) :
|
await Neutralino.os.execCommand(`cd "${path.addSlashes(launcherDir)}/patch" && git pull`) :
|
||||||
await Neutralino.os.execCommand(`git clone "${path.addSlashes(patchUri)}" "${launcherDir}/patch"`);
|
await Neutralino.os.execCommand(`git clone "${path.addSlashes(patchUri)}" "${path.addSlashes(launcherDir)}/patch"`);
|
||||||
|
|
||||||
this.downloadFinished = true;
|
this.downloadFinished = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue