1
1
forked from 0ad/0ad

Fix packaging scripts for 5-digit revision numbers

This was SVN commit r10001.
This commit is contained in:
Ykkrosh 2011-08-11 18:16:00 +00:00
parent 9be60bf29d
commit 68fe745eb7
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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"