Skip to content

Commit 82e5d57

Browse files
committed
Build Windows app with managed GNUstep root
1 parent 3a69a68 commit 82e5d57

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

scripts/windows/build-from-powershell.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ param(
55
[string]$RunTarget = "TableRenderDemo.md",
66
[string]$StageDir = "dist/packaging/windows/stage",
77
[string]$RepoRoot = (Resolve-Path (Join-Path $PSScriptRoot "..\..")).Path,
8-
[string]$MsysRoot = $(if (-not [string]::IsNullOrWhiteSpace($env:MSYS2_LOCATION)) { $env:MSYS2_LOCATION } else { "C:\msys64" })
8+
[string]$MsysRoot = $(if (-not [string]::IsNullOrWhiteSpace($env:GP_GNUSTEP_CLI_ROOT)) {
9+
$env:GP_GNUSTEP_CLI_ROOT
10+
} elseif (-not [string]::IsNullOrWhiteSpace($env:GNUSTEP_CLI_ROOT)) {
11+
$env:GNUSTEP_CLI_ROOT
12+
} elseif (-not [string]::IsNullOrWhiteSpace($env:MSYS2_LOCATION)) {
13+
$env:MSYS2_LOCATION
14+
} else {
15+
"C:\msys64"
16+
})
917
)
1018

1119
Set-StrictMode -Version Latest

0 commit comments

Comments
 (0)