mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Try to fix macos self-updater
This commit is contained in:
parent
ecd8ab24ce
commit
f5eebdae73
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue