Merge pull request #4004 from pchote/osx-ten-point-fail
Fix OSX 10.9 startup crash.
This commit is contained in:
Binary file not shown.
@@ -21,6 +21,11 @@ cp -rv $2/* "OpenRA.app/Contents/Resources/" || exit 3
|
|||||||
rm OpenRA.app/Contents/Resources/OpenRA.ico
|
rm OpenRA.app/Contents/Resources/OpenRA.ico
|
||||||
rm OpenRA.app/Contents/Resources/OpenRA.Editor.exe
|
rm OpenRA.app/Contents/Resources/OpenRA.Editor.exe
|
||||||
|
|
||||||
|
# Change the .config to use the packaged SDL
|
||||||
|
sed "s/\/Library\/Frameworks\/SDL.framework/./" OpenRA.app/Contents/Resources/Tao.Sdl.dll.config > temp
|
||||||
|
mv temp OpenRA.app/Contents/Resources/Tao.Sdl.dll.config
|
||||||
|
rm temp
|
||||||
|
|
||||||
# Package app bundle into a zip and clean up
|
# Package app bundle into a zip and clean up
|
||||||
zip OpenRA-$1 -r -9 OpenRA.app
|
zip OpenRA-$1 -r -9 OpenRA.app
|
||||||
mv OpenRA-$1.zip $3
|
mv OpenRA-$1.zip $3
|
||||||
|
|||||||
Reference in New Issue
Block a user