From ed40ef1267bcf019705f31b31ccfe24a7672d734 Mon Sep 17 00:00:00 2001 From: CoreCode Date: Fri, 13 Dec 2019 17:35:10 +0100 Subject: [PATCH] update PR #1512 again to fix compilation issues (#1518) * Update SUPlainInstaller.m --- Sparkle/SUPlainInstaller.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sparkle/SUPlainInstaller.m b/Sparkle/SUPlainInstaller.m index f0f6acf3..d76d31a1 100644 --- a/Sparkle/SUPlainInstaller.m +++ b/Sparkle/SUPlainInstaller.m @@ -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]; } }