diff --git a/source/tools/dist/0ad.nsi b/source/tools/dist/0ad.nsi index b835b0b548..d82f34f18e 100644 --- a/source/tools/dist/0ad.nsi +++ b/source/tools/dist/0ad.nsi @@ -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" diff --git a/source/tools/dist/build.sh b/source/tools/dist/build.sh index 4e19457c7a..47f59baa38 100755 --- a/source/tools/dist/build.sh +++ b/source/tools/dist/build.sh @@ -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"