summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-11-05 05:09:38 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2014-11-05 05:09:38 -0800
commit3a686b9fa3139eb401ef9287d5dcee6997b31a08 (patch)
treee4061b329b645765972d61072ac34f8e23e9cf67 /MobileCydia.mm
parent483881e4cf3df51df8c97d94857c611ef2510aa4 (diff)
We do not actually need to setnsfpn on /var/cache.v1.1.16
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index a69d2c7..36c1c62 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -10517,8 +10517,7 @@ int main(int argc, char *argv[]) {
dlopen("/Library/MobileSubstrate/MobileSubstrate.dylib", RTLD_LAZY | RTLD_GLOBAL);*/
if (kCFCoreFoundationVersionNumber > 1000)
- for (const char *path : (const char *[]) {"/var/lib", "/var/cache"})
- _root(system([[NSString stringWithFormat:@"/usr/libexec/cydia/setnsfpn %s", path] UTF8String]));
+ _root(system([[NSString stringWithFormat:@"/usr/libexec/cydia/setnsfpn /var/lib"] UTF8String]));
int version([[NSString stringWithContentsOfFile:@"/var/lib/cydia/firmware.ver"] intValue]);