mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
Shorten win build paths
This commit is contained in:
@ -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 @"
|
||||
|
||||
@ -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" }
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user