os x compat and basic app packaging

This commit is contained in:
pchote
2010-02-18 23:21:24 +13:00
parent 15034dd55b
commit ea6dbfc092
8 changed files with 51 additions and 13 deletions

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
<string>OpenRA</string>
<key>CFBundleExecutable</key>
<string>OpenRA</string>
<key>CFBundleIconFile</key>
<string>OpenRa.icns</string>
</dict>
</plist>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
<string>OpenRa Server</string>
<key>CFBundleExecutable</key>
<string>OpenRa Server</string>
<key>CFBundleIconFile</key>
<string>OpenRa.icns</string>
</dict>
</plist>

BIN
packaging/osx/OpenRA.icns Normal file

Binary file not shown.

5
packaging/osx/package.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
macpack -mode:console -n "OpenRa Server" -r OpenRa.FileFormats.dll,packaging/osx/OpenRa.icns OpenRa.Server.exe
cp packaging/osx/Info_server.plist "OpenRa Server.app/Contents/Info.plist"
macpack -mode:winforms -n OpenRA -r OpenRa.FileFormats.dll,OpenRa.Gl.dll,libglfw.dylib,allies.mix,conquer.mix,expand2.mix,general.mix,hires.mix,interior.mix,redalert.mix,russian.mix,snow.mix,sounds.mix,temperat.mix,packaging/osx/settings.ini,line.fx,chrome-shp.fx,chrome-rgba.fx,bogus.sno,bogus.tem,world-shp.fx,tileSet.til,templates.ini,packaging/osx/OpenRa.icns,mods OpenRa.Game.exe
cp packaging/osx/Info_game.plist "OpenRa.app/Contents/Info.plist"

View File

@@ -0,0 +1,7 @@
[Settings]
NetworkHost=localhost
NetworkPort=1234
InitialMods=ra
Width=1024
Height=768
PerfGraph=false