update PR #1512 again to fix compilation issues (#1518)

* Update SUPlainInstaller.m
This commit is contained in:
CoreCode authored and Kornel committed 2019-12-13 16:35:10 +00:00
1 parent b9a4917f81
commit ed40ef1267
1 file changed
+2 -1
+2 -1
View File
@@ -13,6 +13,7 @@
#import "SUHost.h"
#import "SULog.h"
#import "SUErrors.h"
#import "SUOperatingSystem.h"
#include "AppKitPrevention.h"
@@ -213,7 +214,7 @@
NSArray *resourceTags;
BOOL success = [oldTempURL getResourceValue:&resourceTags forKey:NSURLTagNamesKey error:NULL];
if (success && resourceTags.count) {
[destinationAppURL setResourceValue:resourceTags forKey:NSURLTagNamesKey error:NULL];
[installationURL setResourceValue:resourceTags forKey:NSURLTagNamesKey error:NULL];
}
}