summaryrefslogtreecommitdiff
path: root/MobileCydia.app/Cydia
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-10-28 02:25:18 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2010-11-01 22:56:25 -0700
commite17a8c4f2ae16f8daab460936a9b130d024173dd (patch)
tree1544816ffb283219f2de45b0a8e99d6f7ebe24f6 /MobileCydia.app/Cydia
parent6067f1b8116d8fb2502359f430b9d958e10807b9 (diff)
Rename Cydia.* to MobileCydia.* and add Cydia.frappliance.
Diffstat (limited to 'MobileCydia.app/Cydia')
-rwxr-xr-xMobileCydia.app/Cydia6
1 files changed, 6 insertions, 0 deletions
diff --git a/MobileCydia.app/Cydia b/MobileCydia.app/Cydia
new file mode 100755
index 0000000..572af7b
--- /dev/null
+++ b/MobileCydia.app/Cydia
@@ -0,0 +1,6 @@
+#!/bin/bash
+C=/${0}
+C=${C%/*}
+declare -a flags
+[[ :${DYLD_INSERT_LIBRARIES}: == */MobileSubstrate.dylib: ]] && flags[${#flags[@]}]=--substrate
+exec "${C:-.}"/MobileCydia "${flags[@]}" -- "$@" 2>>/tmp/cydia.log