mkxp-sunshine/OneShot.app/Contents/MacOS/oneshot.sh
Vinyl Darkscratch a5b454128d Add OneShot .app
The .app happens to be a tweaked version of the one provided when
grabbing a copy of the game from Steam, as I am unfamiliar with the
process of collecting frameworks into an app bundle, at least with
cmake/qmake.  All you need to do is replace the .app in
~/Library/Application Support/Steam/SteamApps/OneShot/ to play on Mac!
2016-12-13 00:26:35 -08:00

6 lines
245 B
Bash
Executable file

#!/bin/bash
[[ $# -eq 1 && "$1" == -psn_* ]] && shift
cd "${0%/*}/../Resources"
DATA="$(cd "../../.." && echo "$PWD")"
export DYLD_FALLBACK_LIBRARY_PATH="$PWD/../Frameworks:$DYLD_FALLBACK_LIBRARY_PATH"
exec ./steamshim --gameFolder="$DATA" "$@"