mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
Fix xp output name
This commit is contained in:
committed by
Alexey Golubev
parent
cfcb4377f6
commit
0ae1d39712
@ -23,9 +23,6 @@
|
||||
#endif
|
||||
#ifndef OUTPUT_FILE
|
||||
#define OUTPUT_FILE sPackageName + '-' + VERSION + '-' + ARCH
|
||||
#ifdef _WIN_XP
|
||||
#define OUTPUT_FILE OUTPUT_FILE + '-xp'
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if FileExists(BRANDING_DIR + '\branding.iss')
|
||||
|
||||
@ -115,9 +115,8 @@ if (Test-Path "$BuildDir\desktop\vlc-cache-gen.exe") {
|
||||
}
|
||||
|
||||
if (Test-Path "$BuildDir\desktop\online-installer.exe") {
|
||||
$dst = "$PSScriptRoot\OnlineInstaller-$Version-$Arch" + $(if ($Target -eq "xp") {"-xp"}) + ".exe"
|
||||
Write-Host "MOVE: $BuildDir\desktop\online-installer.exe > $dst"
|
||||
Write-Host "MOVE: $BuildDir\desktop\online-installer.exe > OnlineInstaller-$Version-$Arch.exe"
|
||||
Move-Item `
|
||||
-Path "$BuildDir\desktop\online-installer.exe" `
|
||||
-Destination $dst
|
||||
-Destination "OnlineInstaller-$Version-$Arch.exe"
|
||||
}
|
||||
|
||||
@ -115,13 +115,13 @@ switch ($Target) {
|
||||
"standalone" {
|
||||
$InnoArgs += "/DPACKAGE_EDITION=Standalone", "/DEMBED_HELP"
|
||||
}
|
||||
"xp" {
|
||||
$InnoArgs += "/DPACKAGE_EDITION=XP", "/D_WIN_XP"
|
||||
}
|
||||
"update" {
|
||||
$InnoArgs += "/DTARGET_NAME=$CompanyName-$ProductName-$Version-$Arch"
|
||||
$IssFile = "update_common.iss"
|
||||
}
|
||||
"xp" {
|
||||
$InnoArgs += "/D_WIN_XP"
|
||||
}
|
||||
}
|
||||
if ($Sign) {
|
||||
$InnoArgs += "/DSIGN",
|
||||
|
||||
Reference in New Issue
Block a user