From de3b1ab45842f7265fae101aae296d1a2d9b7ae6 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 15 Oct 2008 08:31:39 +0000 Subject: Quick detour to get Cydia Safe Mode working. --- Cydia.app/Cydia | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cydia.app/Cydia') 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 -- cgit v1.2.3