Fixed patch repo changes pulling

This commit is contained in:
Observer KRypt0n_ 2022-02-27 23:09:56 +02:00
parent 238b6fa132
commit 2a533889a9
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -63,8 +63,8 @@ class Stream
// Run `git clone` if the patch repo is not downloaded
// or `git pull` to fetch changes
await fs.exists(`${launcherDir}/patch`) ?
await Neutralino.os.execCommand(`cd "${path.addSlashes(launcherDir)}" && git pull`) :
await Neutralino.os.execCommand(`git clone "${path.addSlashes(patchUri)}" "${launcherDir}/patch"`);
await Neutralino.os.execCommand(`cd "${path.addSlashes(launcherDir)}/patch" && git pull`) :
await Neutralino.os.execCommand(`git clone "${path.addSlashes(patchUri)}" "${path.addSlashes(launcherDir)}/patch"`);
this.downloadFinished = true;