From 2a533889a9b3e3747d37c87e7fbc7d3e3d03bfff Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Sun, 27 Feb 2022 23:09:56 +0200 Subject: [PATCH] Fixed patch repo changes pulling --- src/ts/Patch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ts/Patch.ts b/src/ts/Patch.ts index 216bbe5..4165512 100644 --- a/src/ts/Patch.ts +++ b/src/ts/Patch.ts @@ -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;