bundle resources

This commit is contained in:
filux
2015-02-23 19:17:14 +01:00
parent f2b9a25198
commit 60fb61937d
4 changed files with 17 additions and 7 deletions

View File

@@ -1,2 +0,0 @@
APPL????
APPL????

View File

@@ -3,15 +3,15 @@
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<string>en</string>
<key>CFBundleExecutable</key>
<string>MegaGlest</string>
<key>CFBundleGetInfoString</key>
<string>${VER_MAJOR}.${VER_MINOR}.${VER_RELEASE}, © 2001-2015 The MegaGlest Team.</string>
<string>v${MEGAGLEST_VERSION}, © 2001-2015 The MegaGlest Team.</string>
<key>CFBundleIconFile</key>
<string>MegaGlest</string>
<key>CFBundleIdentifier</key>
<string>org.megaglest.v${VER_MAJOR}-${VER_MINOR}-${VER_RELEASE}</string>
<string>org.megaglest.v${MEGAGLEST_VERSION}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
@@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${VER_MAJOR}.${VER_MINOR}.${VER_RELEASE}</string>
<string>${VER_MAJOR}.${VER_MINOR}.${VER_PATCH}</string>
<key>CFBundleSignature</key>
<string>MGGL</string>
<key>CFBundleVersion</key>
<string>${VER_MAJOR}.${VER_MINOR}.${VER_RELEASE}</string>
<string>${VER_MAJOR}.${VER_MINOR}.${VER_PATCH}</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>

View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Use this script in bundle to run game
# ----------------------------------------------------------------------------
# Copyright (c) 2015 under GNU GPL v3.0+
export LANG=C
SCRIPTDIR="$(cd "$(dirname "$0")"; pwd)"
export DYLD_LIBRARY_PATH="$SCRIPTDIR/../FRAMEWORKS"
export PATH="$SCRIPTDIR/../Resources/megaglest-game:$PATH"
exec "$SCRIPTDIR/../Resources/megaglest-game/megaglest"
exit "$?"