Fix dist-osx packaging
This commit is contained in:
@@ -8,10 +8,6 @@
|
|||||||
# TODO: This will be significantly shorter once we move the ra files into its mod dir
|
# TODO: This will be significantly shorter once we move the ra files into its mod dir
|
||||||
GAME_FILES="OpenRA shaders mods maps packaging/osx/settings.ini FreeSans.ttf FreeSansBold.ttf"
|
GAME_FILES="OpenRA shaders mods maps packaging/osx/settings.ini FreeSans.ttf FreeSansBold.ttf"
|
||||||
|
|
||||||
# List of system files to copy into the app bundle
|
|
||||||
# TODO: Sort out whats going on with libglfw so we don't need to do this
|
|
||||||
SYSTEM_FILES=libglfw.dylib
|
|
||||||
|
|
||||||
# Force 32-bit build and set the pkg-config path for mono.pc
|
# Force 32-bit build and set the pkg-config path for mono.pc
|
||||||
export AS="as -arch i386"
|
export AS="as -arch i386"
|
||||||
export CC="gcc -arch i386"
|
export CC="gcc -arch i386"
|
||||||
@@ -21,8 +17,8 @@ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/Library/Frameworks/Mono.framework/Versi
|
|||||||
mkbundle --deps --static -z -o openra_server OpenRA.Server.exe OpenRa.FileFormats.dll
|
mkbundle --deps --static -z -o openra_server OpenRA.Server.exe OpenRa.FileFormats.dll
|
||||||
|
|
||||||
# Package the game binary
|
# Package the game binary
|
||||||
mkbundle --deps --static -z -o OpenRA OpenRa.Game.exe OpenRa.FileFormats.dll thirdparty/Tao/Tao.Glfw.dll thirdparty/Tao/Tao.Cg.dll thirdparty/Tao/Tao.OpenGl.dll thirdparty/Tao/Tao.OpenAl.dll OpenRa.Gl.dll
|
mkbundle --deps --static -z -o OpenRA OpenRa.Game.exe OpenRa.FileFormats.dll thirdparty/Tao/Tao.Cg.dll thirdparty/Tao/Tao.OpenGl.dll thirdparty/Tao/Tao.OpenAl.dll thirdparty/Tao/Tao.FreeType.dll thirdparty/Tao/Tao.Sdl.dll thirdparty/Tao.Externals.dll thirdparty/ISE.FreeType.dll OpenRa.Gl.dll
|
||||||
|
|
||||||
# Copy everything into our game bundle template
|
# Copy everything into our game bundle template
|
||||||
cp -R packaging/osx/OpenRA.app .
|
cp -R packaging/osx/OpenRA.app .
|
||||||
cp -R $GAME_FILES $SYSTEM_FILES OpenRA.app/Contents/Resources/
|
cp -R $GAME_FILES OpenRA.app/Contents/Resources/
|
||||||
|
|||||||
Reference in New Issue
Block a user