diff --git a/inc/platform.ps1 b/inc/platform.ps1 index 68eeec6..8f2e988 100644 --- a/inc/platform.ps1 +++ b/inc/platform.ps1 @@ -4,4 +4,14 @@ if (-not $PSVersionTable.Platform) { $global:IsWindows = $true $global:IsLinux = $false $global:IsMacOS = $false -} \ No newline at end of file +} + + +$exeSuffix = "" +$batchSuffix = ".sh" +if ($IsWindows) { + $exeSuffix = ".exe" +} +if ($IsWindows) { + $batchSuffix = ".bat" +}