Skip to content

Commit

Permalink
switch to https version of updates.binaryage.com
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Feb 28, 2017
1 parent c343247 commit cfe689f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion updater/AsepsisUpdater-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<key>SUEnableAutomaticChecks</key>
<false/>
<key>SUFeedURL</key>
<string>http://updates.binaryage.com/asepsis.xml</string>
<string>https://updates.binaryage.com/asepsis.xml</string>
<key>SUScheduledCheckInterval</key>
<string>120</string>
<key>SUPublicDSAKeyFile</key>
Expand Down
6 changes: 3 additions & 3 deletions updater/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ - (void) applicationWillFinishLaunching: (NSNotification *)notification {
// publishing a version with broken Sparkle updater would be a real pain
//
// the idea:
// 1. prepare asepsis-test.xml and upload it to http://updates.binaryage.com
// 1. prepare asepsis-test.xml and upload it to https://updates.binaryage.com
// 2. install new release on a test machine
// 3. touch ~/.use-test-appcast
// 4. check for updates and go through updater/installer
Expand All @@ -208,8 +208,8 @@ - (void) applicationWillFinishLaunching: (NSNotification *)notification {

BOOL useTest = [fileManager fileExistsAtPath:useTestAppCastPath];
if (useTest) {
NSLog(@"Using http://updates.binaryage.com/asepsis-test.xml as appcast because %@ is present.", useTestAppCastPath);
[sparkle setFeedURL:[NSURL URLWithString:@"http://updates.binaryage.com/asepsis-test.xml"]];
NSLog(@"Using https://updates.binaryage.com/asepsis-test.xml as appcast because %@ is present.", useTestAppCastPath);
[sparkle setFeedURL:[NSURL URLWithString:@"https://updates.binaryage.com/asepsis-test.xml"]];
}

[sparkle checkForUpdatesInBackground];
Expand Down

0 comments on commit cfe689f

Please sign in to comment.