From: Jay Freeman (saurik) Date: Sun, 12 Jul 2015 09:35:51 +0000 (-0700) Subject: Add a way to opt out of filesystem reorganization. X-Git-Tag: v1.1.23~5 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/a7b261d93482e4bd18bb904e96a4106226ca57e4?ds=inline Add a way to opt out of filesystem reorganization. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 67529fe8..798e5828 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];