Updated linux packaging scripts to remove the need for post install actions and to use the launcher.

This commit is contained in:
Matthew Bowra-Dean
2011-01-01 16:31:17 +13:00
committed by Chris Forbes
parent a3e67611e6
commit ecea2471ca
16 changed files with 27 additions and 137 deletions

View File

@@ -17,10 +17,11 @@ 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, OpenRA.Launcher is Windows specific.
# Icon isn't used, and editor doesn't work, OpenRA.Launcher is Windows specific, gtklaunch is Linux specific.
rm OpenRA.app/Contents/Resources/OpenRA.ico
rm OpenRA.app/Contents/Resources/OpenRA.Editor.exe
rm OpenRA.app/Contents/Resources/OpenRA.Launcher.exe
rm OpenRA.app/Contents/Resources/gtklaunch
# Package app bundle into a zip and clean up
zip OpenRA-$1 -r -9 OpenRA.app