Create separate Windows launchers for each mod.

This commit is contained in:
Paul Chote
2017-04-15 14:48:32 +00:00
parent b5523d6b3f
commit 3e0f055a3c
8 changed files with 75 additions and 28 deletions

View File

@@ -21,12 +21,6 @@ rm launcher.zip
# Copy the template to build the game package
cp -r $2/* "OpenRA.app/Contents/Resources/" || exit 3
# Remove unused icon
rm OpenRA.app/Contents/Resources/OpenRA.ico
# Remove WinForms applications
rm OpenRA.app/Contents/Resources/OpenRA.exe
# Set version string
sed "s/{DEV_VERSION}/${1}/" OpenRA.app/Contents/Info.plist > OpenRA.app/Contents/Info.plist.tmp
mv OpenRA.app/Contents/Info.plist.tmp OpenRA.app/Contents/Info.plist