diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2015-07-12 02:35:51 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2015-07-12 02:35:51 -0700 |
commit | a7b261d93482e4bd18bb904e96a4106226ca57e4 (patch) | |
tree | 5e2e1ce68ecce14b7ac5ebbb368f23d0262e977c /MobileCydia.mm | |
parent | c7e78d5fac975e43f71a6d0af5af7d902af21270 (diff) |
Add a way to opt out of filesystem reorganization.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 67529fe..798e582 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -9869,6 +9869,9 @@ _trace(); [window_ makeKey:self]; [window_ setHidden:NO]; + if (access("/.cydia_no_stash", F_OK) == 0); + else { + if (false) stash: { [self addStashController]; // XXX: this would be much cleaner as a yieldToSelector: @@ -9902,6 +9905,8 @@ _trace(); Stash_("/usr/share"); //Stash_("/var/lib"); + } + database_ = [Database sharedInstance]; [database_ setDelegate:self]; |