]> git.saurik.com Git - patcyh.git/commitdiff
Impactor has the ability to stash individual apps. v1.0.1
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 11 Jul 2015 06:39:28 +0000 (23:39 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 11 Jul 2015 06:39:28 +0000 (23:39 -0700)
patcyh.mm

index 7730cb7505aee0c5b3df467ede995c8c5b3304bd..85ddfe47bd59839aded4d2049e8c58626ba504b5 100644 (file)
--- a/patcyh.mm
+++ b/patcyh.mm
@@ -35,12 +35,12 @@ static NSArray *$MIFileManager$urlsForItemsInDirectoryAtURL$ignoringSymlinks$err
     MIFileManager *manager(reinterpret_cast<MIFileManager *>([$MIFileManager defaultManager]));
     NSURL *destiny([manager destinationOfSymbolicLinkAtURL:url error:NULL]);
     if (destiny == nil)
     MIFileManager *manager(reinterpret_cast<MIFileManager *>([$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]);
 
     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)]]]];
     }
         NSArray *components([item pathComponents]);
         [items addObject:[NSURL fileURLWithPathComponents:[prefix arrayByAddingObjectsFromArray:[components subarrayWithRange:NSMakeRange(skip, [components count] - skip)]]]];
     }