mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Move exe / script suffixes to platform.ps1
This commit is contained in:
parent
c2e6e1120f
commit
96a82f801f
@ -4,4 +4,14 @@ if (-not $PSVersionTable.Platform) {
|
||||
$global:IsWindows = $true
|
||||
$global:IsLinux = $false
|
||||
$global:IsMacOS = $false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$exeSuffix = ""
|
||||
$batchSuffix = ".sh"
|
||||
if ($IsWindows) {
|
||||
$exeSuffix = ".exe"
|
||||
}
|
||||
if ($IsWindows) {
|
||||
$batchSuffix = ".bat"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user