Skip to content

Commit

Permalink
Fix control panel crash if you disabled auto updates (oops!)
Browse files Browse the repository at this point in the history
  • Loading branch information
glouel committed Mar 3, 2020
1 parent b312b7a commit 9910e21
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 35 deletions.
8 changes: 4 additions & 4 deletions Aerial.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1527,15 +1527,15 @@
CODE_SIGN_IDENTITY = "Developer ID Application: Guillaume Louel (3L54M5L5KK)";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1.8.1beta1;
CURRENT_PROJECT_VERSION = 1.8.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.12;
MARKETING_VERSION = 1.8.1beta1;
MARKETING_VERSION = 1.8.1;
PRODUCT_BUNDLE_IDENTIFIER = com.johncoates.Aerial;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1555,15 +1555,15 @@
CODE_SIGN_IDENTITY = "Developer ID Application: Guillaume Louel (3L54M5L5KK)";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1.8.1beta1;
CURRENT_PROJECT_VERSION = 1.8.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.12;
MARKETING_VERSION = 1.8.1beta1;
MARKETING_VERSION = 1.8.1;
OTHER_CODE_SIGN_FLAGS = "--timestamp";
PRODUCT_BUNDLE_IDENTIFIER = com.johncoates.Aerial;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ final class PreferencesWindowController: NSWindowController, NSOutlineViewDataSo
sparkleUpdater!.automaticallyChecksForUpdates = true
}
} else {
sparkleUpdater = SUUpdater.init(for: Bundle(for: PreferencesWindowController.self))
sparkleUpdater!.automaticallyChecksForUpdates = false
}

Expand Down
Loading

0 comments on commit 9910e21

Please sign in to comment.