Fix packaging scripts for 5-digit revision numbers
This was SVN commit r10001.
This commit is contained in:
parent
9be60bf29d
commit
68fe745eb7
4
source/tools/dist/0ad.nsi
vendored
4
source/tools/dist/0ad.nsi
vendored
@ -15,7 +15,7 @@
|
||||
|
||||
;Name and file
|
||||
Name "0 A.D."
|
||||
OutFile "0ad-r0${REVISION}-alpha-win32.exe"
|
||||
OutFile "0ad-r${REVISION}-alpha-win32.exe"
|
||||
|
||||
;Default installation folder
|
||||
InstallDir "$LOCALAPPDATA\0 A.D. alpha"
|
||||
@ -89,7 +89,7 @@ Section "!Game and data files" GameSection
|
||||
|
||||
;Add uninstall information
|
||||
WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\0 A.D." "DisplayName" "0 A.D."
|
||||
WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\0 A.D." "DisplayVersion" "r0${REVISION}-alpha"
|
||||
WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\0 A.D." "DisplayVersion" "r${REVISION}-alpha"
|
||||
WriteRegDWORD SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\0 A.D." "VersionMajor" 0
|
||||
WriteRegDWORD SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\0 A.D." "VersionMinor" ${REVISION}
|
||||
WriteRegStr SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\0 A.D." "Publisher" "Wildfire Games"
|
||||
|
2
source/tools/dist/build.sh
vendored
2
source/tools/dist/build.sh
vendored
@ -9,7 +9,7 @@ EXE=~/0ad/hg/ps/binaries/system/pyrogenesis
|
||||
SVNWC=~/0ad/public-trunk/
|
||||
|
||||
SVNREV=`svnversion -n ${SVNWC}`
|
||||
PREFIX=0ad-r0${SVNREV}-alpha
|
||||
PREFIX=0ad-r${SVNREV}-alpha
|
||||
|
||||
XZOPTS="-9 -e"
|
||||
BZ2OPTS="-9"
|
||||
|
Loading…
Reference in New Issue
Block a user