mirror of
https://github.com/xpipe-io/xpipe.git
synced 2025-04-17 09:43:37 +00:00
Small fixes [stage]
This commit is contained in:
parent
b591fa2b5a
commit
83992fd477
2 changed files with 4 additions and 3 deletions
|
@ -97,9 +97,10 @@ public class AppInstaller {
|
|||
toRun = "start \"XPipe Updater\" /min cmd /c \"" + ScriptHelper.createExecScript(ShellDialects.CMD, sc, command)
|
||||
+ "\"";
|
||||
} else {
|
||||
toRun =
|
||||
toRun = sc.getShellDialect() == ShellDialects.POWERSHELL ?
|
||||
"Start-Process -WindowStyle Minimized -FilePath powershell -ArgumentList \"-ExecutionPolicy\", \"Bypass\", \"-File\", \"`\""
|
||||
+ ScriptHelper.createExecScript(ShellDialects.POWERSHELL, sc, command) + "`\"\"";
|
||||
+ ScriptHelper.createExecScript(ShellDialects.POWERSHELL, sc, command) + "`\"\"" :
|
||||
"start \"XPipe Updater\" /min powershell -ExecutionPolicy Bypass -File \"" + ScriptHelper.createExecScript(ShellDialects.POWERSHELL, sc, command) + "\"";
|
||||
}
|
||||
sc.command(toRun).execute();
|
||||
}
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
16.0-11
|
||||
16.0-12
|
||||
|
|
Loading…
Add table
Reference in a new issue