aboutsummaryrefslogtreecommitdiff
path: root/build/chirp.app
diff options
context:
space:
mode:
authorMatthew Poletiek <matthew.poletiek@gmail.com>2020-12-08 21:03:16 -0600
committerMatthew Poletiek <matthew.poletiek@gmail.com>2020-12-08 21:03:16 -0600
commite99416456afd4aa8bde42016826f9a345291cbf3 (patch)
treea7a95639cd1cb5dbe2d91a2ca8e8defafac4296d /build/chirp.app
parent194cf4e5e0b6a2811103a9b739a72b9afe2b886c (diff)
downloadchirp-e99416456afd4aa8bde42016826f9a345291cbf3.tar.gz
chirp-e99416456afd4aa8bde42016826f9a345291cbf3.tar.xz
Initial Commit
Diffstat (limited to 'build/chirp.app')
-rw-r--r--build/chirp.app/Contents/Info.plist26
-rwxr-xr-xbuild/chirp.app/Contents/MacOS/chirp19
-rw-r--r--build/chirp.app/Contents/PkgInfo1
-rw-r--r--build/chirp.app/Contents/Resources/.placeholder0
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