diff --git a/scripts/start.ps1 b/scripts/start.ps1 index 1f96abcd..1cb32415 100644 --- a/scripts/start.ps1 +++ b/scripts/start.ps1 @@ -53,13 +53,13 @@ if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]: "irm christitus.com/win | iex" } $powershellcmd = if (Get-Command pwsh -ErrorAction SilentlyContinue) { - "pwsh" + "pwsh.exe" } else { - "powershell" + "powershell.exe" } $processCmd = if (Get-Command wt.exe -ErrorAction SilentlyContinue) { - "wt" + "wt.exe" } else { $powershellcmd } diff --git a/windev.ps1 b/windev.ps1 index 0a572327..a9af524b 100644 --- a/windev.ps1 +++ b/windev.ps1 @@ -18,13 +18,13 @@ if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]: $script = "irm christitus.com/windev | iex" $powershellcmd = if (Get-Command pwsh -ErrorAction SilentlyContinue) { - "pwsh" + "pwsh.exe" } else { - "powershell" + "powershell.exe" } $processCmd = if (Get-Command wt.exe -ErrorAction SilentlyContinue) { - "wt" + "wt.exe" } else { $powershellcmd }