Shorten win build paths

This commit is contained in:
Semyon Bezrukov
2025-11-08 22:29:05 +03:00
parent 1c69521ad1
commit ba4ab11ff6
4 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ if (-not (Test-Path "$SourceDir")) {
Write-Error "Path `"$SourceDir`" does not exist"
}
if (-not $BuildDir) {
$BuildDir = ".build.$Arch"
$BuildDir = "_$Arch"
}
Write-Host @"

View File

@ -15,7 +15,7 @@ $ErrorActionPreference = "Stop"
Set-Location $PSScriptRoot
if (-not $BuildDir) {
$BuildDir = ".build.$Arch"
$BuildDir = "_$Arch"
}
$MsiFile = switch ($Target) {
"commercial" { "$CompanyName-$ProductName-Enterprise-$Version-$Arch.msi" }

View File

@ -16,7 +16,7 @@ $ErrorActionPreference = "Stop"
Set-Location $PSScriptRoot
if (-not $BuildDir) {
$BuildDir = ".build.$Arch"
$BuildDir = "_$Arch"
}
if (-not (Test-Path "$BuildDir")) {
Write-Error "Path `"$BuildDir`" does not exist"

View File

@ -12,7 +12,7 @@ $ErrorActionPreference = "Stop"
Set-Location $PSScriptRoot
if (-not $BuildDir) {
$BuildDir = ".build.$Arch"
$BuildDir = "_$Arch"
}
if (-not (Test-Path "$BuildDir")) {
Write-Error "Path `"$BuildDir`" does not exist"