Move the osx-packaging script inside the launcher xcode project
This commit is contained in:
12
packaging/osx/launcher/OpenRA.app/Contents/Info.plist
Normal file
12
packaging/osx/launcher/OpenRA.app/Contents/Info.plist
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//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>
|
||||
8
packaging/osx/launcher/OpenRA.app/Contents/MacOS/OpenRA
Executable file
8
packaging/osx/launcher/OpenRA.app/Contents/MacOS/OpenRA
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Application-launcher for OpenRA.
|
||||
# Executes the game binary inside the ../Resources directory with the correct working directory
|
||||
# Based on the file generated by the mono mkbundle utility
|
||||
|
||||
APP_PATH=`echo $0 | awk '{split($0,patharr,"/"); idx=1; while(patharr[idx+3] != "") { if (patharr[idx] != "/") {printf("%s/", patharr[idx]); idx++ }} }'`
|
||||
cd "$APP_PATH/Contents/Resources"
|
||||
./OpenRA $@
|
||||
BIN
packaging/osx/launcher/OpenRA.app/Contents/Resources/OpenRA.icns
Normal file
BIN
packaging/osx/launcher/OpenRA.app/Contents/Resources/OpenRA.icns
Normal file
Binary file not shown.
Reference in New Issue
Block a user