From f5eebdae738d303cd29e04537b3b503f471baec0 Mon Sep 17 00:00:00 2001 From: crschnick Date: Sun, 26 Nov 2023 08:53:36 +0000 Subject: [PATCH] Try to fix macos self-updater --- app/src/main/java/io/xpipe/app/update/AppInstaller.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 3260f66bc..b4c157e78 100644 --- a/app/src/main/java/io/xpipe/app/update/AppInstaller.java +++ b/app/src/main/java/io/xpipe/app/update/AppInstaller.java @@ -277,7 +277,6 @@ public class AppInstaller { public void installLocal(String file) throws Exception { var command = new LocalStore() .control() - .subShell(ShellDialects.BASH) .command(String.format( """ function exec { @@ -287,7 +286,7 @@ public class AppInstaller { } cd ~ - exec || read -rsp "Update failed ..."$'\\n' -n 1 key + exec || echo "Update failed ..." && read -rs -k 1 key """, file, file)); TerminalHelper.open("XPipe Updater", command);