mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-28 23:31:43 +12:00
More powershell fixes
This commit is contained in:
parent
32515720fc
commit
0149137abe
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public class ScriptHelper {
|
|||
var type = parent.getShellDialect();
|
||||
|
||||
// Fix for powershell as there are permission issues when executing a powershell askpass script
|
||||
if (parent.getShellDialect().equals(ShellDialects.POWERSHELL)) {
|
||||
if (ShellDialects.isPowershell(parent)) {
|
||||
type = parent.getOsType().equals(OsType.WINDOWS) ? ShellDialects.CMD : ShellDialects.SH;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue