ci: make build_msix.ps1 stage-only exit dot-source safe

This commit is contained in:
SoftFever
2026-06-11 03:56:00 +08:00
parent 29ccc21e17
commit 09be358a78

View File

@@ -51,7 +51,7 @@ Set-Content -Path (Join-Path $StagingDir 'AppxManifest.xml') -Value $manifest -E
if ($StageOnly) {
Write-Output "Staged loose layout at: $StagingDir"
exit 0
return
}
$makeappx = Get-ChildItem "${env:ProgramFiles(x86)}\Windows Kits\10\bin\10.*\x64\makeappx.exe" -ErrorAction SilentlyContinue |