From da173cc7206ea2fb87100e24c06e5f0a1d47c562 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Wed, 21 Aug 2024 23:53:40 +0200 Subject: [PATCH] add .exe --- scripts/start.ps1 | 6 +++--- windev.ps1 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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 }