diff options
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 |