Show
Ignore:
Timestamp:
10/01/08 23:13:47 (2 months ago)
Author:
gbooker
Message:

Corrected the updater, as seen in http://groups.google.com/group/perian-discuss/browse_thread/thread/56a7253d2a3e8316

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/perian-1.1/Update Checker Sources/UpdateCheckerAppDelegate.m

    r923 r950  
    8080        updateAvailable = (updateAvailable && (SUStandardVersionComparison([latest fileVersion], [[NSBundle bundleWithPath:panePath] objectForInfoDictionaryKey:@"CFBundleVersion"]) == NSOrderedAscending)); 
    8181         
    82         if (![panePath isEqualToString:@"Perian.prefPane"]) { 
     82        if (![[panePath lastPathComponent] isEqualToString:@"Perian.prefPane"]) { 
    8383                NSLog(@"The update checker needs to be run from inside the preference pane, quitting..."); 
    8484                updateAvailable = 0;