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!
This commit is contained in:
Vinyl Darkscratch 2016-12-13 00:26:35 -08:00
parent 1da5418a3a
commit a5b454128d
23 changed files with 32 additions and 1 deletions

1
.gitignore vendored
View file

@ -4,7 +4,6 @@
*.bak
*.xxd
*.exe
*.app
*.bmp
Makefile*

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

24
OneShot.app/Contents/Info.plist Executable file
View file

@ -0,0 +1,24 @@
<?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>CFBundleExecutable</key>
<string>oneshot.sh</string>
<key>CFBundleIconFile</key>
<string>icon.icns</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>OneShot</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.games</string>
<key>LSMinimumSystemVersion</key>
<string>10.7</string>
</dict>
</plist>

View file

@ -0,0 +1,6 @@
#!/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" "$@"

View file

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

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
420530

Binary file not shown.