mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-01 17:47:30 +13:00
More updater fixes
This commit is contained in:
parent
906676cf58
commit
56048bd5e3
2 changed files with 9 additions and 1 deletions
|
@ -205,7 +205,7 @@ public class AppInstaller {
|
|||
function exec {
|
||||
echo "+ sudo apt-get remove -qy xpipe"
|
||||
DEBIAN_FRONTEND=noninteractive sudo apt-get remove -qy xpipe || return 1
|
||||
echo "+ sudo apt-get install -qy "%s"
|
||||
echo "+ sudo apt-get install -qy \\"%s\\""
|
||||
DEBIAN_FRONTEND=noninteractive sudo apt-get install -qy "%s" || return 1
|
||||
xpipe open || return 1
|
||||
}
|
||||
|
|
|
@ -11,6 +11,14 @@ import java.util.function.Consumer;
|
|||
|
||||
public interface CommandControl extends ProcessControl {
|
||||
|
||||
static enum TerminalExitMode {
|
||||
KEEP_OPEN,
|
||||
KEEP_OPEN_ON_FAILURE,
|
||||
CLOSE
|
||||
}
|
||||
|
||||
CommandControl terminalExitMode(TerminalExitMode mode);
|
||||
|
||||
public CommandControl doesNotObeyReturnValueConvention();
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue