Skip to content

Commit 67bca1f

Browse files
committed
Merge pull request OpenRA#4004 from pchote/osx-ten-point-fail
Fix OSX 10.9 startup crash.
2 parents 2cd7554 + 23eb28f commit 67bca1f

File tree

2 files changed

+5
-0
lines changed
  • OpenRA.Launcher.Mac/build/Release/OpenRA.app/Contents/Resources
  • packaging/osx

2 files changed

+5
-0
lines changed
Binary file not shown.

packaging/osx/buildpackage.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ cp -rv $2/* "OpenRA.app/Contents/Resources/" || exit 3
2121
rm OpenRA.app/Contents/Resources/OpenRA.ico
2222
rm OpenRA.app/Contents/Resources/OpenRA.Editor.exe
2323

24+
# Change the .config to use the packaged SDL
25+
sed "s/\/Library\/Frameworks\/SDL.framework/./" OpenRA.app/Contents/Resources/Tao.Sdl.dll.config > temp
26+
mv temp OpenRA.app/Contents/Resources/Tao.Sdl.dll.config
27+
rm temp
28+
2429
# Package app bundle into a zip and clean up
2530
zip OpenRA-$1 -r -9 OpenRA.app
2631
mv OpenRA-$1.zip $3

0 commit comments

Comments
 (0)