From f44e675d90cb422c6d356dc94bf2374e8137fb8c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 10 Jul 2015 23:39:28 -0700 Subject: [PATCH] Impactor has the ability to stash individual apps. --- patcyh.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patcyh.mm b/patcyh.mm index 7730cb7..85ddfe4 100644 --- a/patcyh.mm +++ b/patcyh.mm @@ -35,12 +35,12 @@ static NSArray *$MIFileManager$urlsForItemsInDirectoryAtURL$ignoringSymlinks$err MIFileManager *manager(reinterpret_cast([$MIFileManager defaultManager])); NSURL *destiny([manager destinationOfSymbolicLinkAtURL:url error:NULL]); if (destiny == nil) - return _MIFileManager$urlsForItemsInDirectoryAtURL$ignoringSymlinks$error$(self, _cmd, url, YES, error); + return _MIFileManager$urlsForItemsInDirectoryAtURL$ignoringSymlinks$error$(self, _cmd, url, NO, error); NSArray *prefix([url pathComponents]); size_t skip([[destiny pathComponents] count]); NSMutableArray *items([NSMutableArray array]); - for (NSURL *item in _MIFileManager$urlsForItemsInDirectoryAtURL$ignoringSymlinks$error$(self, _cmd, destiny, YES, error)) { + for (NSURL *item in _MIFileManager$urlsForItemsInDirectoryAtURL$ignoringSymlinks$error$(self, _cmd, destiny, NO, error)) { NSArray *components([item pathComponents]); [items addObject:[NSURL fileURLWithPathComponents:[prefix arrayByAddingObjectsFromArray:[components subarrayWithRange:NSMakeRange(skip, [components count] - skip)]]]]; } -- 2.45.2