summaryrefslogtreecommitdiff
path: root/MobileCydia.app/Cydia
diff options
context:
space:
mode:
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