Fixed (?) yes yes input piping in patch applying

This commit is contained in:
Observer KRypt0n_ 2022-01-31 22:16:24 +02:00
parent e319099c1e
commit 2cfc8b51d1
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA

View file

@ -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