mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Move Test App server directory data into subdirectory inside Caches
We want to wipe the caches directory we create for the test app data on launch, and want to make sure no other data is being inserted into the same directory. Before, Sparkle was inserting data into the same directory when downloading an update.
This commit is contained in:
1 parent
bdb3dd8c36
commit
99be33d83b
1 file changed
+1
-1
@@ -54,7 +54,7 @@ static NSString * const UPDATED_VERSION = @"2.0";
|
||||
assert(bundleIdentifier != nil);
|
||||
|
||||
// Create a directory that'll be used for our web server listing
|
||||
NSURL *serverDirectoryURL = [cacheDirectoryURL URLByAppendingPathComponent:bundleIdentifier];
|
||||
NSURL *serverDirectoryURL = [[cacheDirectoryURL URLByAppendingPathComponent:bundleIdentifier] URLByAppendingPathComponent:@"ServerData"];
|
||||
if ([serverDirectoryURL checkResourceIsReachableAndReturnError:nil]) {
|
||||
NSError *removeServerDirectoryError = nil;
|
||||
|
||||
|
||||
Reference in new issue
Block a user