Skip to content

Commit

Permalink
Use Sparkle for updates. Fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen_booth committed Apr 16, 2008
1 parent c949e11 commit 3a76baf
Show file tree
Hide file tree
Showing 18 changed files with 166 additions and 947 deletions.
1 change: 0 additions & 1 deletion ApplicationDelegate.h
Expand Up @@ -29,7 +29,6 @@

- (IBAction) showPreferences:(id)sender;
- (IBAction) showAcknowledgments:(id)sender;
- (IBAction) performVersionCheck:(id)sender;

// Scripting
- (unsigned) countOfFiles;
Expand Down
10 changes: 0 additions & 10 deletions ApplicationDelegate.m
Expand Up @@ -23,7 +23,6 @@
#import "AcknowledgmentsController.h"
#import "UppercaseStringValueTransformer.h"
#import "TagEditor.h"
#import "UpdateChecker.h"
#import "ServicesProvider.h"

@implementation ApplicationDelegate
Expand All @@ -45,10 +44,6 @@ - (void) applicationWillFinishLaunching:(NSNotification *)aNotification

- (void) applicationDidFinishLaunching:(NSNotification *)aNotification
{
if([[NSUserDefaults standardUserDefaults] boolForKey:@"startupVersionCheck"]) {
[[UpdateChecker sharedController] checkForUpdate:NO];
}

// Register services
[[NSApplication sharedApplication] setServicesProvider:[[ServicesProvider alloc] init]];
}
Expand Down Expand Up @@ -90,11 +85,6 @@ - (IBAction) showAcknowledgments:(id)sender
[[AcknowledgmentsController sharedController] showWindow:self];
}

- (IBAction) performVersionCheck:(id)sender
{
[[UpdateChecker sharedController] checkForUpdate:YES];
}

- (unsigned) countOfFiles { return [[TagEditor sharedEditor] countOfFiles]; }
- (KeyValueTaggedFile *) objectInFilesAtIndex:(unsigned)idx { return [[TagEditor sharedEditor] objectInFilesAtIndex:idx]; }

Expand Down
115 changes: 84 additions & 31 deletions English.lproj/MainMenu.nib/classes.nib

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 11 additions & 12 deletions English.lproj/MainMenu.nib/info.nib

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified English.lproj/MainMenu.nib/keyedobjects.nib
Binary file not shown.
50 changes: 38 additions & 12 deletions English.lproj/Preferences.nib/classes.nib

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions English.lproj/Preferences.nib/info.nib

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified English.lproj/Preferences.nib/keyedobjects.nib
Binary file not shown.
7 changes: 0 additions & 7 deletions English.lproj/UpdateChecker.nib/classes.nib

This file was deleted.

12 changes: 0 additions & 12 deletions English.lproj/UpdateChecker.nib/info.nib

This file was deleted.

Binary file removed English.lproj/UpdateChecker.nib/keyedobjects.nib
Binary file not shown.
2 changes: 2 additions & 0 deletions Info.plist
Expand Up @@ -114,5 +114,7 @@
</array>
<key>OSAScriptingDefinition</key>
<string>Tag.sdef</string>
<key>SUFeedURL</key>
<string>http://sbooth.org/Tag/appcast.xml</string>
</dict>
</plist>
1 change: 0 additions & 1 deletion MacPAD.url

This file was deleted.

68 changes: 0 additions & 68 deletions MacPADSocket.h

This file was deleted.

0 comments on commit 3a76baf

Please sign in to comment.