From 021950a5b20624c3e605cc51b39cff24c478f48e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Sat, 10 Dec 2016 11:58:28 +0000 Subject: [PATCH 1/3] Less alarming error message --- Sparkle/SUPlainInstaller.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUPlainInstaller.m b/Sparkle/SUPlainInstaller.m index 4f06d47d..d11e3bb8 100644 --- a/Sparkle/SUPlainInstaller.m +++ b/Sparkle/SUPlainInstaller.m @@ -164,7 +164,7 @@ // Prevent malicious downgrades if (!allowDowngrades) { if ([comparator compareVersion:[host version] toVersion:[[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleVersionKey]] == NSOrderedDescending) { - NSString *errorMessage = [NSString stringWithFormat:@"Sparkle Updater: Possible attack in progress! Attempting to \"upgrade\" from %@ to %@. Aborting update.", [host version], [[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleVersionKey]]; + NSString *errorMessage = [NSString stringWithFormat:@"For security reasons, updates that downgrade version of the application are not allowed. Refusing to downgrade app from version %@ to %@. Aborting update.", [host version], [[NSBundle bundleWithPath:path] objectForInfoDictionaryKey:(__bridge NSString *)kCFBundleVersionKey]]; NSError *error = [NSError errorWithDomain:SUSparkleErrorDomain code:SUDowngradeError userInfo:@{ NSLocalizedDescriptionKey: errorMessage }]; [self finishInstallationToPath:installationPath withResult:NO error:error completionHandler:completionHandler]; return; From 93fc4b0151f183044ea3bb1e53523add71df446a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Sat, 10 Dec 2016 12:03:50 +0000 Subject: [PATCH 2/3] Highlight Sierra compat --- README.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 0e9ac10d..564cb886 100644 --- a/README.markdown +++ b/README.markdown @@ -6,14 +6,15 @@ An easy-to-use software update framework for Cocoa developers. ## Changes since 1.5b -* Up-to-date with 10.11 SDK and Xcode 7. Supports macOS 10.7+. +* Compatibilty with macOS Sierra. +* Up-to-date with 10.11 SDK and Xcode 7 (supports macOS 10.7+). * Important security fixes. * Cleaned up and modernized code, using ARC and Autolayout. * Truly automatic background updates (no UI at all) when user agreed to "Automatically download and install updates in the future." +* Upgraded and more reliable binary delta and code signing verification. * Ability to mark updates as critical. * Progress and status notifications for the host app. * Name of finish_installation.app can be configured to match your app's name. -* Upgraded and more reliable binary delta and code signing verification. ## Features From ab6fa76303f276d678d2c7ef834b901c940ab3a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Sat, 10 Dec 2016 12:04:26 +0000 Subject: [PATCH 3/3] Xcode 8 now --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 564cb886..d7595acd 100644 --- a/README.markdown +++ b/README.markdown @@ -7,7 +7,7 @@ An easy-to-use software update framework for Cocoa developers. ## Changes since 1.5b * Compatibilty with macOS Sierra. -* Up-to-date with 10.11 SDK and Xcode 7 (supports macOS 10.7+). +* Up-to-date with 10.12 SDK and Xcode 8 (supports macOS 10.7+). * Important security fixes. * Cleaned up and modernized code, using ARC and Autolayout. * Truly automatic background updates (no UI at all) when user agreed to "Automatically download and install updates in the future."