Skip to content

Commit cb8e9af

Browse files
committed
Build libgit in GitX; Remove Sparkle; Xcode 4.4 upgrade
1 parent 0a1502a commit cb8e9af

File tree

5 files changed

+121
-142
lines changed

5 files changed

+121
-142
lines changed

ApplicationController.m

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#import "PBNSURLPathUserDefaultsTransfomer.h"
1717
#import "PBGitDefaults.h"
1818
#import "PBCloneRepositoryPanel.h"
19-
#import "Sparkle/SUUpdater.h"
2019

2120
@implementation ApplicationController
2221

@@ -63,9 +62,6 @@ - (void)registerServices
6362

6463
- (void)applicationDidFinishLaunching:(NSNotification*)notification
6564
{
66-
[[SUUpdater sharedUpdater] setSendsSystemProfile:YES];
67-
[[SUUpdater sharedUpdater] setDelegate:self];
68-
6965
// Make sure Git's SSH password requests get forwarded to our little UI tool:
7066
setenv( "SSH_ASKPASS", [[[NSBundle mainBundle] pathForResource: @"gitx_askpasswd" ofType: @""] UTF8String], 1 );
7167
setenv( "DISPLAY", "localhost:0", 1 );
@@ -367,31 +363,6 @@ - (void) dealloc {
367363
[super dealloc];
368364
}
369365

370-
371-
#pragma mark Sparkle delegate methods
372-
373-
- (NSArray *)feedParametersForUpdater:(SUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile
374-
{
375-
NSArray *keys = [NSArray arrayWithObjects:@"key", @"displayKey", @"value", @"displayValue", nil];
376-
NSMutableArray *feedParameters = [NSMutableArray array];
377-
378-
// only add parameters if the profile is being sent this time
379-
if (sendingProfile) {
380-
NSString *CFBundleGitVersion = [[[NSBundle mainBundle] infoDictionary] valueForKey:@"CFBundleGitVersion"];
381-
if (CFBundleGitVersion)
382-
[feedParameters addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"CFBundleGitVersion", @"Full Version", CFBundleGitVersion, CFBundleGitVersion, nil]
383-
forKeys:keys]];
384-
385-
NSString *gitVersion = [PBGitBinary version];
386-
if (gitVersion)
387-
[feedParameters addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"gitVersion", @"git Version", gitVersion, gitVersion, nil]
388-
forKeys:keys]];
389-
}
390-
391-
return feedParameters;
392-
}
393-
394-
395366
#pragma mark Help menu
396367

397368
- (IBAction)showHelp:(id)sender

0 commit comments

Comments
 (0)