Skip to content

Commit 7747361

Browse files
committed
Update Sparkle Framework
1 parent 2cdf2b6 commit 7747361

File tree

20 files changed

+22
-13
lines changed

20 files changed

+22
-13
lines changed

ApplicationController.m

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#import "PBPrefsWindowController.h"
1717
#import "PBNSURLPathUserDefaultsTransfomer.h"
1818
#import "PBGitDefaults.h"
19+
#import "Sparkle/SUUpdater.h"
1920

2021
@implementation ApplicationController
2122
@synthesize cliProxy;
@@ -63,6 +64,7 @@ - (void)registerServices
6364

6465
- (void)applicationDidFinishLaunching:(NSNotification*)notification
6566
{
67+
[[SUUpdater sharedUpdater] setSendsSystemProfile:YES];
6668
[self registerServices];
6769

6870
// Only try to open a default document if there are no documents open already.

Sparkle.framework/Versions/A/Headers/SUAppcastItem.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@interface SUAppcastItem : NSObject {
1313
NSString *title;
1414
NSDate *date;
15-
NSString *description;
15+
NSString *itemDescription;
1616

1717
NSURL *releaseNotesURL;
1818

@@ -33,7 +33,7 @@
3333
- (NSString *)versionString;
3434
- (NSString *)displayVersionString;
3535
- (NSDate *)date;
36-
- (NSString *)description;
36+
- (NSString *)itemDescription;
3737
- (NSURL *)releaseNotesURL;
3838
- (NSURL *)fileURL;
3939
- (NSString *)DSASignature;

Sparkle.framework/Versions/A/Headers/SUUpdater.h

+10-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
- (void)setFeedURL:(NSURL *)feedURL;
3737
- (NSURL *)feedURL;
3838

39+
- (void)setSendsSystemProfile:(BOOL)sendsSystemProfile;
40+
- (BOOL)sendsSystemProfile;
41+
42+
- (void)setAutomaticallyDownloadsUpdates:(BOOL)automaticallyDownloadsUpdates;
43+
- (BOOL)automaticallyDownloadsUpdates;
44+
3945
// This IBAction is meant for a main menu item. Hook up any menu item to this action,
4046
// and Sparkle will check for updates and report back its findings verbosely.
4147
- (IBAction)checkForUpdates:sender;
@@ -45,11 +51,14 @@
4551
// update is found, it will be downloaded and prepped for installation.
4652
- (void)checkForUpdatesInBackground;
4753

54+
// Date of last update check. Returns null if no check has been performed.
55+
- (NSDate*)lastUpdateCheckDate;
56+
4857
// This begins a "probing" check for updates which will not actually offer to update to that version. The delegate methods, though,
4958
// (up to updater:didFindValidUpdate: and updaterDidNotFindUpdate:), are called, so you can use that information in your UI.
5059
- (void)checkForUpdateInformation;
5160

52-
// Call this to appropriately schedule or cancel the update checking timer according to the preferences for time interval and automatic checks.
61+
// Call this to appropriately schedule or cancel the update checking timer according to the preferences for time interval and automatic checks. This call does not change the date of the next check, but only the internal NSTimer.
5362
- (void)resetUpdateCycle;
5463

5564
- (BOOL)updateInProgress;

Sparkle.framework/Versions/A/Resources/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.5 Beta 5</string>
18+
<string>1.5 Beta 6</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>282</string>
22+
<string>313</string>
2323
</dict>
2424
</plist>
Binary file not shown.

Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/info.nib

+2-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/info.nib

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

Sparkle.framework/Versions/A/Sparkle

9.82 KB
Binary file not shown.

0 commit comments

Comments
 (0)