diff --git a/packaging/linux/buildpackage.sh b/packaging/linux/buildpackage.sh index 180242028d..2c1cd59137 100644 --- a/packaging/linux/buildpackage.sh +++ b/packaging/linux/buildpackage.sh @@ -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 diff --git a/packaging/osx/buildpackage.sh b/packaging/osx/buildpackage.sh index f4c39309ae..67d6eac2ee 100755 --- a/packaging/osx/buildpackage.sh +++ b/packaging/osx/buildpackage.sh @@ -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 diff --git a/packaging/package-all.sh b/packaging/package-all.sh index fc11a0655e..20c89fc546 100755 --- a/packaging/package-all.sh +++ b/packaging/package-all.sh @@ -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