Windows support added to general packager.
This commit is contained in:
@@ -34,11 +34,11 @@ popd
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
pushd linux/pkgbuild/
|
pushd linux/pkgbuild/
|
||||||
#sh buildpackage.sh "ftp.open-ra.org" "httpdocs/releases/linux" "$2" "$3" "$VERSION"
|
sh buildpackage.sh "ftp.open-ra.org" "httpdocs/releases/linux" "$2" "$3" "$VERSION"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd linux/rpm/
|
pushd linux/rpm/
|
||||||
#sh buildpackage.sh "ftp.open-ra.org" "httpdocs/releases/linux" "$2" "$3" "$VERSION" ~/rpmbuild
|
sh buildpackage.sh "ftp.open-ra.org" "httpdocs/releases/linux" "$2" "$3" "$VERSION" ~/rpmbuild
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd osx/
|
pushd osx/
|
||||||
@@ -46,3 +46,10 @@ sh package-game.sh ~/openra-package/$_gitname-build "$VERSION"
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
sh uploader.sh osx "$VERSION" ~/openra-package/$_gitname-build/osxbuild/OpenRA-$VERSION.zip "$2" "$3"
|
sh uploader.sh osx "$VERSION" ~/openra-package/$_gitname-build/osxbuild/OpenRA-$VERSION.zip "$2" "$3"
|
||||||
|
|
||||||
|
pushd windows/
|
||||||
|
makensis -DSRCDIR=~/openra-package/$_gitname-build OpenRA.nsi
|
||||||
|
mv OpenRA.exe OpenRA-$VERSION.exe
|
||||||
|
popd
|
||||||
|
|
||||||
|
sh uploader.sh windows "$VERSION" windows/OpenRA-$VERSION.exe
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ InstallDir $PROGRAMFILES\OpenRA
|
|||||||
SetCompressor lzma
|
SetCompressor lzma
|
||||||
|
|
||||||
!insertmacro MUI_PAGE_WELCOME
|
!insertmacro MUI_PAGE_WELCOME
|
||||||
!insertmacro MUI_PAGE_LICENSE "..\..\COPYING"
|
!insertmacro MUI_PAGE_LICENSE "${SRCDIR}\COPYING"
|
||||||
!insertmacro MUI_PAGE_DIRECTORY
|
!insertmacro MUI_PAGE_DIRECTORY
|
||||||
|
|
||||||
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
|
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
|
||||||
@@ -52,35 +52,35 @@ Var StartMenuFolder
|
|||||||
;***************************
|
;***************************
|
||||||
Section "Client" Client
|
Section "Client" Client
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
File "..\..\OpenRA.Game.exe"
|
File "${SRCDIR}\OpenRA.Game.exe"
|
||||||
File "..\..\OpenRA.FileFormats.dll"
|
File "${SRCDIR}\OpenRA.FileFormats.dll"
|
||||||
File "..\..\OpenRA.Gl.dll"
|
File "${SRCDIR}\OpenRA.Gl.dll"
|
||||||
File "..\..\COPYING"
|
File "${SRCDIR}\COPYING"
|
||||||
File "..\..\HACKING"
|
File "${SRCDIR}\HACKING"
|
||||||
File "..\..\INSTALL"
|
File "${SRCDIR}\INSTALL"
|
||||||
File "..\..\*.ttf"
|
File "${SRCDIR}\*.ttf"
|
||||||
|
|
||||||
File "..\..\OpenRA.Game\OpenRA.ico"
|
File "${SRCDIR}\OpenRA.Game\OpenRA.ico"
|
||||||
|
|
||||||
File "..\..\thirdparty\Tao\*.dll"
|
File "${SRCDIR}\thirdparty\Tao\*.dll"
|
||||||
|
|
||||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||||
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
|
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
|
||||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA - Red Alert.lnk" $OUTDIR\OpenRA.Game.exe "" \
|
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA - Red Alert.lnk" $OUTDIR\OpenRA.Game.exe "InitialMods=ra" \
|
||||||
"$OUTDIR\OpenRA.ico" "" "" "" ""
|
"$OUTDIR\OpenRA.ico" "" "" "" ""
|
||||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA - Command & Conquer.lnk" $OUTDIR\OpenRA.Game.exe "InitialMods=cnc" \
|
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA - Command & Conquer.lnk" $OUTDIR\OpenRA.Game.exe "InitialMods=cnc" \
|
||||||
"$OUTDIR\OpenRA.ico" "" "" "" ""
|
"$OUTDIR\OpenRA.ico" "" "" "" ""
|
||||||
!insertmacro MUI_STARTMENU_WRITE_END
|
!insertmacro MUI_STARTMENU_WRITE_END
|
||||||
|
|
||||||
SetOutPath "$INSTDIR\shaders"
|
SetOutPath "$INSTDIR\shaders"
|
||||||
File "..\..\shaders\*.fx"
|
File "${SRCDIR}\shaders\*.fx"
|
||||||
SetOutPath "$INSTDIR\maps"
|
SetOutPath "$INSTDIR\maps"
|
||||||
File "..\..\maps\README"
|
File "${SRCDIR}\maps\README"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Editor" Editor
|
Section "Editor" Editor
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
File "..\..\OpenRA.Editor.exe"
|
File "${SRCDIR}\OpenRA.Editor.exe"
|
||||||
|
|
||||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||||
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
|
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
|
||||||
@@ -95,10 +95,10 @@ SectionGroup /e "Mods"
|
|||||||
SectionGroup "Red Alert" RA
|
SectionGroup "Red Alert" RA
|
||||||
Section "-RA_Core"
|
Section "-RA_Core"
|
||||||
SetOutPath "$INSTDIR\mods\ra"
|
SetOutPath "$INSTDIR\mods\ra"
|
||||||
File "..\..\mods\ra\*.*"
|
File "${SRCDIR}\mods\ra\*.*"
|
||||||
File /r "..\..\mods\ra\maps"
|
File /r "${SRCDIR}\mods\ra\maps"
|
||||||
File /r "..\..\mods\ra\chrome"
|
File /r "${SRCDIR}\mods\ra\chrome"
|
||||||
File /r "..\..\mods\ra\extras"
|
File /r "${SRCDIR}\mods\ra\extras"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
Section "Download content" RA_Content
|
Section "Download content" RA_Content
|
||||||
AddSize 10137
|
AddSize 10137
|
||||||
@@ -117,9 +117,9 @@ SectionGroup /e "Mods"
|
|||||||
SectionGroup "Command & Conquer" CNC
|
SectionGroup "Command & Conquer" CNC
|
||||||
Section "-CNC_Core"
|
Section "-CNC_Core"
|
||||||
SetOutPath "$INSTDIR\mods\cnc"
|
SetOutPath "$INSTDIR\mods\cnc"
|
||||||
File "..\..\mods\cnc\*.*"
|
File "${SRCDIR}\mods\cnc\*.*"
|
||||||
File /r "..\..\mods\cnc\maps"
|
File /r "${SRCDIR}\mods\cnc\maps"
|
||||||
File /r "..\..\mods\cnc\chrome"
|
File /r "${SRCDIR}\mods\cnc\chrome"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
Section "Download content" CNC_Content
|
Section "Download content" CNC_Content
|
||||||
AddSize 9431
|
AddSize 9431
|
||||||
|
|||||||
Reference in New Issue
Block a user