From 9515cccf4dfd7540bd071d62ffd9d5f0bb276a50 Mon Sep 17 00:00:00 2001 From: Guillaume Louel <37544189+glouel@users.noreply.github.com> Date: Tue, 4 Feb 2020 18:18:51 +0100 Subject: [PATCH 1/3] Update beta-appcast.xml Testing xpc --- beta-appcast.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/beta-appcast.xml b/beta-appcast.xml index fa1a1105..3db10d96 100644 --- a/beta-appcast.xml +++ b/beta-appcast.xml @@ -1,6 +1,20 @@ Aerial + +1.7.1beta3xpc + + This is a TEST to try the new XPC update system in Sparkle 2.x, this may or may not work + ]]> + +mar., 04 jan. 2020 16:00:00 +0100 +10.9 + + + 1.7.1beta1 From f36cd1dd29182b6ddfe4d8b2ac41a5f5f26829a2 Mon Sep 17 00:00:00 2001 From: Guillaume Louel Date: Tue, 11 Feb 2020 15:27:26 +0100 Subject: [PATCH 2/3] Fix "new style" settings that weren't saved immediately as they should have. 1.7.1 --- Aerial.xcodeproj/project.pbxproj | 8 ++++---- Aerial/Source/Models/Prefs/PrefsInfo.swift | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Aerial.xcodeproj/project.pbxproj b/Aerial.xcodeproj/project.pbxproj index 8e7fb233..ad458193 100644 --- a/Aerial.xcodeproj/project.pbxproj +++ b/Aerial.xcodeproj/project.pbxproj @@ -1385,7 +1385,7 @@ CODE_SIGN_IDENTITY = "Developer ID Application: Guillaume Louel (3L54M5L5KK)"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1.7.1beta1; + CURRENT_PROJECT_VERSION = 1.7.1; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = 3L54M5L5KK; ENABLE_HARDENED_RUNTIME = YES; @@ -1393,7 +1393,7 @@ INSTALL_PATH = "$(HOME)/Library/Screen Savers"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.9; - MARKETING_VERSION = 1.7.1beta1; + MARKETING_VERSION = 1.7.1; PRODUCT_BUNDLE_IDENTIFIER = com.johncoates.Aerial; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1414,7 +1414,7 @@ CODE_SIGN_IDENTITY = "Developer ID Application: Guillaume Louel (3L54M5L5KK)"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1.7.1beta1; + CURRENT_PROJECT_VERSION = 1.7.1; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = 3L54M5L5KK; ENABLE_HARDENED_RUNTIME = YES; @@ -1422,7 +1422,7 @@ INSTALL_PATH = "$(HOME)/Library/Screen Savers"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 10.9; - MARKETING_VERSION = 1.7.1beta1; + MARKETING_VERSION = 1.7.1; OTHER_CODE_SIGN_FLAGS = "--timestamp"; PRODUCT_BUNDLE_IDENTIFIER = com.johncoates.Aerial; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/Aerial/Source/Models/Prefs/PrefsInfo.swift b/Aerial/Source/Models/Prefs/PrefsInfo.swift index 148acdde..27382ecc 100644 --- a/Aerial/Source/Models/Prefs/PrefsInfo.swift +++ b/Aerial/Source/Models/Prefs/PrefsInfo.swift @@ -231,6 +231,8 @@ struct PrefsInfo { if let userDefaults = ScreenSaverDefaults(forModuleWithName: module) { // Set value to UserDefaults userDefaults.set(data, forKey: key) + + userDefaults.synchronize() } else { errorLog("UserDefaults set failed for \(key)") } @@ -260,6 +262,8 @@ struct SimpleStorage { set { if let userDefaults = ScreenSaverDefaults(forModuleWithName: module) { userDefaults.set(newValue, forKey: key) + + userDefaults.synchronize() } } } From 2cce398ae31ac99bea9c86155de7c09e5a26538f Mon Sep 17 00:00:00 2001 From: Guillaume Louel <37544189+glouel@users.noreply.github.com> Date: Tue, 11 Feb 2020 15:29:21 +0100 Subject: [PATCH 3/3] Update beta-appcast.xml --- beta-appcast.xml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/beta-appcast.xml b/beta-appcast.xml index 3db10d96..90af803a 100644 --- a/beta-appcast.xml +++ b/beta-appcast.xml @@ -1,19 +1,6 @@ Aerial - -1.7.1beta3xpc - - This is a TEST to try the new XPC update system in Sparkle 2.x, this may or may not work - ]]> - -mar., 04 jan. 2020 16:00:00 +0100 -10.9 - - 1.7.1beta1