Skip to content

Commit

Permalink
Merge pull request #919 from glouel/master
Browse files Browse the repository at this point in the history
1.7.1 with some tiny fixes
  • Loading branch information
glouel authored Feb 11, 2020
2 parents 664902b + 2cce398 commit cb69a31
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Aerial.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1385,15 +1385,15 @@
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;
INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist";
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 = "";
Expand All @@ -1414,15 +1414,15 @@
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;
INFOPLIST_FILE = "$(SRCROOT)/Resources/Info.plist";
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)";
Expand Down
4 changes: 4 additions & 0 deletions Aerial/Source/Models/Prefs/PrefsInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
}
Expand Down Expand Up @@ -260,6 +262,8 @@ struct SimpleStorage<T> {
set {
if let userDefaults = ScreenSaverDefaults(forModuleWithName: module) {
userDefaults.set(newValue, forKey: key)

userDefaults.synchronize()
}
}
}
Expand Down
1 change: 1 addition & 0 deletions beta-appcast.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" standalone="yes"?><rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">
<channel>
<title>Aerial</title>

<item>
<title>1.7.1beta1</title>
<description>
Expand Down

0 comments on commit cb69a31

Please sign in to comment.