summaryrefslogtreecommitdiff
path: root/Cydia.app/Cydia
blob: 3c723156a65b9841d6a529a9fe6cf4be43ec55a8 (plain)
1
2
3
4
5
6
#!/bin/bash
C=/${0}
C=${C%/*}
declare -a flags
[[ :${DYLD_INSERT_LIBRARIES}: == */MobileSubstrate.dylib: ]] && flags[${#flags[@]}]=--substrate
exec "${C:-.}"/Cydia_ "${flags[@]}" -- "$@" 2>>/tmp/cydia.log