Updated packaging scripts for winlauncher.

This commit is contained in:
Matthew Bowra-Dean
2010-11-27 16:39:26 +13:00
committed by Paul Chote
parent 2a8beca0f8
commit 0e26f0ce26
3 changed files with 8 additions and 3 deletions

View File

@@ -19,6 +19,9 @@ cp openra root/usr/bin/
mkdir -p root/usr/share/openra/
cp -R $BUILTDIR/* "root/usr/share/openra/" || exit 3
# Remove unneeded files
rm root/usr/share/openra/OpenRA.Launcher.exe
# Desktop Icons
mkdir -p root/usr/share/applications/
sed "s/{VERSION}/$VERSION/" openra-ra.desktop > root/usr/share/applications/openra-ra.desktop

View File

@@ -17,9 +17,10 @@ fi
cp -rv ../../OpenRA.Launcher.Mac/build/Release/OpenRA.app OpenRA.app
cp -rv $2/* "OpenRA.app/Contents/Resources/" || exit 3
# Icon isn't used, and editor doesn't work
# Icon isn't used, and editor doesn't work, OpenRA.Launcher is Windows specific.
rm OpenRA.app/Contents/Resources/OpenRA.ico
rm OpenRA.app/Contents/Resources/OpenRA.Editor.exe
rm OpenRA.app/Contents/Resources/OpenRA.Launcher.exe
# Package app bundle into a zip and clean up
zip OpenRA-$1 -r -9 OpenRA.app

View File

@@ -27,8 +27,9 @@ find . -path "*.mdb" -delete
# List of files that are packaged on all platforms
# Note that the Tao dlls are shipped on all platforms except osx and that
# they are now installed to the game directory instead of placed in the gac
FILES="OpenRA.Game.exe OpenRA.Editor.exe OpenRA.Utility.exe OpenRA.Renderer.Cg.dll OpenRA.Renderer.Gl.dll OpenRA.Renderer.Null.dll \
OpenRA.FileFormats.dll FreeSans.ttf FreeSansBold.ttf titles.ttf cg glsl mods/ra mods/cnc VERSION COPYING HACKING INSTALL"
FILES="OpenRA.Launcher.exe OpenRA.Game.exe OpenRA.Editor.exe OpenRA.Utility.exe OpenRA.Renderer.Cg.dll \
OpenRA.Renderer.Gl.dll OpenRA.Renderer.Null.dll OpenRA.FileFormats.dll FreeSans.ttf FreeSansBold.ttf titles.ttf \
cg glsl mods/ra mods/cnc VERSION COPYING HACKING INSTALL"
echo "Copying files..."
for i in $FILES; do