From 10ae05f88728dc001a8172d2c5e276d4bbaad1ea Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 9 Oct 2024 06:29:58 +0000 Subject: [PATCH] Fix update read key syntax --- app/src/main/java/io/xpipe/app/update/AppInstaller.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/xpipe/app/update/AppInstaller.java b/app/src/main/java/io/xpipe/app/update/AppInstaller.java index a66965ccf..845e3edee 100644 --- a/app/src/main/java/io/xpipe/app/update/AppInstaller.java +++ b/app/src/main/java/io/xpipe/app/update/AppInstaller.java @@ -4,6 +4,7 @@ import io.xpipe.app.core.AppLogs; import io.xpipe.app.core.AppProperties; import io.xpipe.app.core.mode.OperationMode; import io.xpipe.app.ext.LocalStore; +import io.xpipe.app.ext.ProcessControlProvider; import io.xpipe.app.prefs.AppPrefs; import io.xpipe.app.terminal.ExternalTerminalType; import io.xpipe.app.util.LocalShell; @@ -159,7 +160,7 @@ public class AppInstaller { } cd ~ - runinstaller || read -rsp "Update failed ..."$'\\n' -n 1 key + runinstaller || echo "Update failed ..." && read key """, file, file, name);