From 2cfc8b51d1fbf0967ca1bb782508822f2afa32ec Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Mon, 31 Jan 2022 22:16:24 +0200 Subject: [PATCH] Fixed (?) `yes yes` input piping in patch applying --- src/ts/Patch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/Patch.ts b/src/ts/Patch.ts index 988b8c2..aa37dc6 100644 --- a/src/ts/Patch.ts +++ b/src/ts/Patch.ts @@ -74,7 +74,7 @@ class Stream extends AbstractInstaller /** * Execute the main patch installation script */ - () => Neutralino.os.execCommand(`pkexec bash -c 'cd "${path.addSlashes(gameDir)}" ; yes yes | "${path.addSlashes(patchDir)}/patch.sh"'`), + () => Neutralino.os.execCommand(`yes yes | pkexec bash -c 'cd "${path.addSlashes(gameDir)}" ; "${path.addSlashes(patchDir)}/patch.sh"'`), /** * Execute the anti-login crash patch installation script