os x compat and basic app packaging
This commit is contained in:
12
packaging/osx/Info_game.plist
Normal file
12
packaging/osx/Info_game.plist
Normal 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>
|
||||
12
packaging/osx/Info_server.plist
Normal file
12
packaging/osx/Info_server.plist
Normal 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
BIN
packaging/osx/OpenRA.icns
Normal file
Binary file not shown.
5
packaging/osx/package.sh
Executable file
5
packaging/osx/package.sh
Executable 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"
|
||||
7
packaging/osx/settings.ini
Normal file
7
packaging/osx/settings.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
[Settings]
|
||||
NetworkHost=localhost
|
||||
NetworkPort=1234
|
||||
InitialMods=ra
|
||||
Width=1024
|
||||
Height=768
|
||||
PerfGraph=false
|
||||
Reference in New Issue
Block a user