diff options
Diffstat (limited to 'build/chirp.app/Contents')
| -rw-r--r-- | build/chirp.app/Contents/Info.plist | 26 | ||||
| -rwxr-xr-x | build/chirp.app/Contents/MacOS/chirp | 19 | ||||
| -rw-r--r-- | build/chirp.app/Contents/PkgInfo | 1 | ||||
| -rw-r--r-- | build/chirp.app/Contents/Resources/.placeholder | 0 |
4 files changed, 46 insertions, 0 deletions
diff --git a/build/chirp.app/Contents/Info.plist b/build/chirp.app/Contents/Info.plist new file mode 100644 index 0000000..673eeeb --- /dev/null +++ b/build/chirp.app/Contents/Info.plist @@ -0,0 +1,26 @@ +<?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>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>chirp</string> + <key>CFBundleIconFile</key> + <string>Chirp</string> + <key>CFBundleIdentifier</key> + <string>com.danplanet.chirp</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>chirp</string> + <key>CFBundleShortVersionString</key> + <string>0.1</string> + <key>CFBundleVersion</key> + <string>0.1</string> + <key>LSHasLocalizedDisplayName</key> + <false/> + <key>LSMinimumSystemVersion</key> + <string>10.5</string> +</dict> +</plist> diff --git a/build/chirp.app/Contents/MacOS/chirp b/build/chirp.app/Contents/MacOS/chirp new file mode 100755 index 0000000..d0ff86e --- /dev/null +++ b/build/chirp.app/Contents/MacOS/chirp @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +LOCATION=$(dirname "${BASH_SOURCE}") + +PYTHON=/opt/kk7ds/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python + +not_translocated () { + security translocate-status-check "${LOCATION}" 2>&1 | grep -q -e NOT -e unknown -e "not found" +} + +if [ ! -x $PYTHON ]; then + PYTHON=/opt/kk7ds/bin/python2.7 +elif not_translocated; then + ln -s $PYTHON "${LOCATION}/../CHIRP" + PYTHON=${LOCATION}/../CHIRP + export PYTHONPATH=/opt/kk7ds/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages +fi + +exec "$PYTHON" "${LOCATION}/../Resources/chirp/chirpw" diff --git a/build/chirp.app/Contents/PkgInfo b/build/chirp.app/Contents/PkgInfo new file mode 100644 index 0000000..bd04210 --- /dev/null +++ b/build/chirp.app/Contents/PkgInfo @@ -0,0 +1 @@ +APPL????
\ No newline at end of file diff --git a/build/chirp.app/Contents/Resources/.placeholder b/build/chirp.app/Contents/Resources/.placeholder new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/build/chirp.app/Contents/Resources/.placeholder |
