diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-10-15 08:31:39 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:08:50 +0000 |
commit | de3b1ab45842f7265fae101aae296d1a2d9b7ae6 (patch) | |
tree | e0990ed9f1429ca2132b460de6928d4209164313 /Cydia.app | |
parent | 9487f027092eea7c2efe6136da0b4b8bf5ac62c8 (diff) |
Quick detour to get Cydia Safe Mode working.
Diffstat (limited to 'Cydia.app')
-rwxr-xr-x | Cydia.app/Cydia | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Cydia.app/Cydia b/Cydia.app/Cydia index f0c76fc..8356734 100755 --- a/Cydia.app/Cydia +++ b/Cydia.app/Cydia @@ -1,3 +1,5 @@ #!/bin/bash Cydia=$(dirname "$0") -exec "${Cydia}"/Cydia_ 2>>/tmp/cydia.log +declare -a flags +[[ :${DYLD_INSERT_LIBRARIES}: == */MobileSubstrate.dylib: ]] && flags[${#flags[@]}]=--substrate +exec "${Cydia}"/Cydia_ "${flags[@]}" -- "$@" 2>>/tmp/cydia.log |