diff --git a/SUAutomaticUpdateAlert.m b/SUAutomaticUpdateAlert.m index 99a0aa6b..70a3b15f 100644 --- a/SUAutomaticUpdateAlert.m +++ b/SUAutomaticUpdateAlert.m @@ -11,14 +11,14 @@ @implementation SUAutomaticUpdateAlert -- (id)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)hb delegate:del; +- (id)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)aHost delegate:del; { - self = [super initWithHost:hb windowNibName:@"SUAutomaticUpdateAlert"]; + self = [super initWithHost:aHost windowNibName:@"SUAutomaticUpdateAlert"]; if (self) { updateItem = [item retain]; delegate = del; - host = [hb retain]; + host = [aHost retain]; [self setShouldCascadeWindows:NO]; [[self window] center]; } diff --git a/SUBasicUpdateDriver.h b/SUBasicUpdateDriver.h index a047be2c..50db7f7f 100644 --- a/SUBasicUpdateDriver.h +++ b/SUBasicUpdateDriver.h @@ -22,7 +22,7 @@ NSString *relaunchPath; } -- (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)hb; +- (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)host; - (void)appcastDidFinishLoading:(SUAppcast *)ac; - (void)appcast:(SUAppcast *)ac failedToLoadWithError:(NSError *)error; @@ -44,8 +44,8 @@ - (void)unarchiverDidFail:(SUUnarchiver *)ua; - (void)installUpdate; -- (void)installerFinishedForHost:(SUHost *)hb; -- (void)installerForHost:(SUHost *)hb failedWithError:(NSError *)error; +- (void)installerFinishedForHost:(SUHost *)host; +- (void)installerForHost:(SUHost *)host failedWithError:(NSError *)error; - (void)relaunchHostApp; - (void)cleanUp; diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index c5332f39..8d437a36 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -166,8 +166,9 @@ - (BOOL)download:(NSURLDownload *)download shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType { - if ([encodingType isEqualToString:@"application/gzip"]) return NO; - return YES; + // We don't want the download system to extract our gzips. + // Note that we use a substring matching here instead of direct comparison because the docs say "application/gzip" but the system *uses* "application/x-gzip". This is a documentation bug. + return ([encodingType rangeOfString:@"gzip"].location == NSNotFound); } - (void)extractUpdate diff --git a/SUHost.h b/SUHost.h index 832327b8..24c41525 100644 --- a/SUHost.h +++ b/SUHost.h @@ -20,6 +20,7 @@ - (NSString *)displayVersion; - (NSImage *)icon; - (BOOL)isRunningOnReadOnlyVolume; +- (BOOL)isBackgroundApplication; - (NSString *)publicDSAKey; - (NSArray *)systemProfile; diff --git a/SUHost.m b/SUHost.m index f6969685..78359c92 100644 --- a/SUHost.m +++ b/SUHost.m @@ -85,6 +85,11 @@ return (statfs_info.f_flags & MNT_RDONLY); } +- (BOOL)isBackgroundApplication +{ + return [[bundle objectForInfoDictionaryKey:@"LSUIElement"] doubleValue]; +} + - (NSString *)publicDSAKey { // Maybe the key is just a string in the Info.plist. diff --git a/SUStatusController.m b/SUStatusController.m index e6796e07..0eb53e62 100644 --- a/SUStatusController.m +++ b/SUStatusController.m @@ -11,12 +11,12 @@ @implementation SUStatusController -- (id)initWithHost:(SUHost *)hb +- (id)initWithHost:(SUHost *)aHost { - self = [super initWithHost:hb windowNibName:@"SUStatus"]; + self = [super initWithHost:aHost windowNibName:@"SUStatus"]; if (self) { - host = [hb retain]; + host = [aHost retain]; [self setShouldCascadeWindows:NO]; } return self; diff --git a/SUUIBasedUpdateDriver.h b/SUUIBasedUpdateDriver.h index d3459801..09a96472 100644 --- a/SUUIBasedUpdateDriver.h +++ b/SUUIBasedUpdateDriver.h @@ -18,6 +18,8 @@ SUUpdateAlert *updateAlert; } +- (void)showModalAlert:(NSAlert *)alert; + @end #endif diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index 5fdbc5e5..cdde3f72 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -16,12 +16,19 @@ updateAlert = [[SUUpdateAlert alloc] initWithAppcastItem:updateItem host:host]; [updateAlert setDelegate:self]; - // If the app is a menubar app or the like, we need to focus it first: - if ([[host objectForInfoDictionaryKey:@"LSUIElement"] doubleValue]) { [NSApp activateIgnoringOtherApps:YES]; } - SUUpdater *updater = [SUUpdater updaterForBundle:[host bundle]]; if ([[updater delegate] respondsToSelector:@selector(updater:didFindValidUpdate:)]) [[updater delegate] updater:updater didFindValidUpdate:updateItem]; + + // If the app is a menubar app or the like, we need to focus it first and alter the + // update prompt to behave like a normal window. Otherwise if the window were hidden + // there may be no way for the application to be activated to make it visible again. + if ([host isBackgroundApplication]) + { + [[updateAlert window] setHidesOnDeactivate:NO]; + [[updateAlert window] setLevel:NSNormalWindowLevel]; + [NSApp activateIgnoringOtherApps:YES]; + } // Only show the update alert if the app is active; otherwise, we'll wait until it is. if ([NSApp isActive]) @@ -36,8 +43,7 @@ if ([[updater delegate] respondsToSelector:@selector(updaterDidNotFindUpdate:)]) [[updater delegate] updaterDidNotFindUpdate:updater]; NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"You're up to date!", nil) defaultButton:SULocalizedString(@"OK", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:SULocalizedString(@"%@ %@ is currently the newest version available.", nil), [host name], [host displayVersion]]; - [alert setIcon:[host icon]]; - [alert runModal]; + [self showModalAlert:alert]; [self abortUpdate]; } @@ -141,8 +147,7 @@ - (void)abortUpdateWithError:(NSError *)error { NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:[error localizedDescription]]; - [alert setIcon:[host icon]]; - [alert runModal]; + [self showModalAlert:alert]; [super abortUpdateWithError:error]; } @@ -156,4 +161,14 @@ [super abortUpdate]; } +- (void)showModalAlert:(NSAlert *)alert +{ + // When showing a modal alert we need to ensure that background applications + // are focused to inform the user since there is no dock icon to notify them. + if ([host isBackgroundApplication]) { [NSApp activateIgnoringOtherApps:YES]; } + + [alert setIcon:[host icon]]; + [alert runModal]; +} + @end diff --git a/SUUpdateAlert.m b/SUUpdateAlert.m index b3cc05f3..ef9f360e 100644 --- a/SUUpdateAlert.m +++ b/SUUpdateAlert.m @@ -13,12 +13,12 @@ @implementation SUUpdateAlert -- (id)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)hb +- (id)initWithAppcastItem:(SUAppcastItem *)item host:(SUHost *)aHost { - self = [super initWithHost:hb windowNibName:@"SUUpdateAlert"]; + self = [super initWithHost:host windowNibName:@"SUUpdateAlert"]; if (self) { - host = [hb retain]; + host = [aHost retain]; updateItem = [item retain]; [self setShouldCascadeWindows:NO]; } diff --git a/SUUpdateDriver.h b/SUUpdateDriver.h index 16057b57..0ef038a6 100644 --- a/SUUpdateDriver.h +++ b/SUUpdateDriver.h @@ -20,7 +20,7 @@ extern NSString *SUUpdateDriverFinishedNotification; BOOL finished; } -- (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)hb; +- (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)host; - (void)abortUpdate; - (BOOL)finished; diff --git a/SUUpdatePermissionPrompt.h b/SUUpdatePermissionPrompt.h index ad8e47d6..3da5ffa5 100644 --- a/SUUpdatePermissionPrompt.h +++ b/SUUpdatePermissionPrompt.h @@ -25,7 +25,7 @@ typedef enum { IBOutlet NSButton *moreInfoButton; BOOL isShowingMoreInfo, shouldSendProfile; } -+ (void)promptWithHost:(SUHost *)hb delegate:(id)d; ++ (void)promptWithHost:(SUHost *)aHost delegate:(id)d; - (IBAction)toggleMoreInfo:(id)sender; - (IBAction)finishPrompt:(id)sender; @end diff --git a/SUUpdatePermissionPrompt.m b/SUUpdatePermissionPrompt.m index 290ca197..7902e516 100644 --- a/SUUpdatePermissionPrompt.m +++ b/SUUpdatePermissionPrompt.m @@ -16,12 +16,12 @@ return [[host objectForInfoDictionaryKey:SUEnableSystemProfilingKey] boolValue]; } -- (id)initWithHost:(SUHost *)hb delegate:(id)d +- (id)initWithHost:(SUHost *)aHost delegate:(id)d { - self = [super initWithHost:hb windowNibName:@"SUUpdatePermissionPrompt"]; + self = [super initWithHost:aHost windowNibName:@"SUUpdatePermissionPrompt"]; if (self) { - host = [hb retain]; + host = [aHost retain]; delegate = [d retain]; isShowingMoreInfo = NO; shouldSendProfile = [self shouldAskAboutProfile]; @@ -30,9 +30,14 @@ return self; } -+ (void)promptWithHost:(SUHost *)hb delegate:(id)d ++ (void)promptWithHost:(SUHost *)host delegate:(id)d { - id prompt = [[[self class] alloc] initWithHost:hb delegate:d]; + // If this is a background application we need to focus it in order to bring the prompt + // to the user's attention. Otherwise the prompt would be hidden behind other applications and + // the user would not know why the application was paused. + if ([host isBackgroundApplication]) { [NSApp activateIgnoringOtherApps:YES]; } + + id prompt = [[[self class] alloc] initWithHost:host delegate:d]; [NSApp runModalForWindow:[prompt window]]; } diff --git a/SUUserInitiatedUpdateDriver.m b/SUUserInitiatedUpdateDriver.m index 8ba7a573..59a31260 100644 --- a/SUUserInitiatedUpdateDriver.m +++ b/SUUserInitiatedUpdateDriver.m @@ -11,14 +11,21 @@ @implementation SUUserInitiatedUpdateDriver -- (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)hb +- (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)aHost { - checkingController = [[SUStatusController alloc] initWithHost:hb]; + checkingController = [[SUStatusController alloc] initWithHost:aHost]; [[checkingController window] center]; // Force the checking controller to load its window. [checkingController beginActionWithTitle:SULocalizedString(@"Checking for updates\u2026", nil) maxProgressValue:0 statusText:nil]; [checkingController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelCheckForUpdates:) isDefault:NO]; [checkingController showWindow:self]; - [super checkForUpdatesAtURL:appcastURL host:hb]; + [super checkForUpdatesAtURL:appcastURL host:host]; + + // For background applications, obtain focus. + // Useful if the update check is requested from another app like System Preferences. + if ([host isBackgroundApplication]) + { + [NSApp activateIgnoringOtherApps:YES]; + } } - (void)closeCheckingWindow @@ -54,6 +61,12 @@ [super abortUpdateWithError:error]; } +- (void)abortUpdate +{ + [self closeCheckingWindow]; + [super abortUpdate]; +} + - (void)appcast:(SUAppcast *)ac failedToLoadWithError:(NSError *)error { if (isCanceled) diff --git a/SUWindowController.h b/SUWindowController.h index 2962429d..fc50ba18 100644 --- a/SUWindowController.h +++ b/SUWindowController.h @@ -14,7 +14,7 @@ @class SUHost; @interface SUWindowController : NSWindowController { } // We use this instead of plain old NSWindowController initWithWindowNibName so that we'll be able to find the right path when running in a bundle loaded from another app. -- (id)initWithHost:(SUHost *)hb windowNibName:(NSString *)nibName; +- (id)initWithHost:(SUHost *)host windowNibName:(NSString *)nibName; @end #endif diff --git a/SUWindowController.m b/SUWindowController.m index 7e48b52e..8581cd79 100644 --- a/SUWindowController.m +++ b/SUWindowController.m @@ -10,12 +10,12 @@ @implementation SUWindowController -- (id)initWithHost:(SUHost *)hb windowNibName:(NSString *)nibName +- (id)initWithHost:(SUHost *)host windowNibName:(NSString *)nibName { NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:nibName ofType:@"nib"]; if (path == nil) // Slight hack to resolve issues with running Sparkle in debug configurations. { - NSString *frameworkPath = [[hb sharedFrameworksPath] stringByAppendingPathComponent:@"Sparkle.framework"]; + NSString *frameworkPath = [[host sharedFrameworksPath] stringByAppendingPathComponent:@"Sparkle.framework"]; NSBundle *framework = [NSBundle bundleWithPath:frameworkPath]; path = [framework pathForResource:nibName ofType:@"nib"]; } diff --git a/Sparkle.h b/Sparkle.h index c76dfe82..dfee4405 100644 --- a/Sparkle.h +++ b/Sparkle.h @@ -13,7 +13,7 @@ #ifndef SPARKLE_H #define SPARKLE_H -#define SULocalizedString(key,comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", [NSBundle bundleForClass:[self class]], comment) +#define SULocalizedString(key,comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", [NSBundle bundleWithIdentifier:@"org.andymatuschak.Sparkle"], comment) #define SUAbstractFail() NSAssert2(nil, @"Can't call %@ on an instance of %@; this is an abstract method!", __PRETTY_FUNCTION__, [self class]); #ifdef __OBJC__ diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 587a9a04..c2c6a340 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -189,6 +189,10 @@ 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = SUModelTranslation.plist; sourceTree = ""; }; 6171D9050D57B81800BFE886 /* NSFileManager+Aliases.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSFileManager+Aliases.h"; sourceTree = ""; }; 6171D9060D57B81800BFE886 /* NSFileManager+Aliases.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSFileManager+Aliases.m"; sourceTree = ""; }; + 618915700E35937600B5E981 /* sv */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = sv; path = sv.lproj/SUUpdatePermissionPrompt.nib; sourceTree = ""; }; + 618915710E35937600B5E981 /* sv */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = sv; path = sv.lproj/SUUpdateAlert.nib; sourceTree = ""; }; + 618915720E35937600B5E981 /* sv */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = sv; path = sv.lproj/SUAutomaticUpdateAlert.nib; sourceTree = ""; }; + 618915730E35937600B5E981 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Sparkle.strings; sourceTree = ""; }; 618FA4FF0DAE88B40026945C /* SUInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUInstaller.h; sourceTree = ""; }; 618FA5000DAE88B40026945C /* SUInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUInstaller.m; sourceTree = ""; }; 618FA5030DAE8AB80026945C /* SUPlainInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUPlainInstaller.h; sourceTree = ""; }; @@ -880,6 +884,7 @@ 61AAE8710A321F7700D8810D /* nl */, 619B17200E1E9D0800E72754 /* de */, 61F614540E24A12D009F47E7 /* it */, + 618915730E35937600B5E981 /* sv */, ); name = Sparkle.strings; sourceTree = ""; @@ -893,6 +898,7 @@ 61F365350E1898A3007ECA02 /* nl */, 619B17210E1E9D0800E72754 /* de */, 61F614550E24A12D009F47E7 /* it */, + 618915720E35937600B5E981 /* sv */, ); name = SUAutomaticUpdateAlert.nib; sourceTree = ""; @@ -906,6 +912,7 @@ 61F365340E1898A3007ECA02 /* nl */, 619B17220E1E9D0800E72754 /* de */, 61F614560E24A12D009F47E7 /* it */, + 618915710E35937600B5E981 /* sv */, ); name = SUUpdateAlert.nib; sourceTree = ""; @@ -935,6 +942,7 @@ 61F365330E1898A3007ECA02 /* nl */, 619B17230E1E9D0800E72754 /* de */, 61F614570E24A12D009F47E7 /* it */, + 618915700E35937600B5E981 /* sv */, ); name = SUUpdatePermissionPrompt.nib; sourceTree = ""; diff --git a/sv.lproj/SUAutomaticUpdateAlert.nib/classes.nib b/sv.lproj/SUAutomaticUpdateAlert.nib/classes.nib new file mode 100644 index 00000000..4b1ab30e --- /dev/null +++ b/sv.lproj/SUAutomaticUpdateAlert.nib/classes.nib @@ -0,0 +1,50 @@ + + + + + IBClasses + + + CLASS + SUWindowController + LANGUAGE + ObjC + SUPERCLASS + NSWindowController + + + ACTIONS + + doNotInstall + id + installLater + id + installNow + id + + CLASS + SUAutomaticUpdateAlert + LANGUAGE + ObjC + SUPERCLASS + SUWindowController + + + CLASS + FirstResponder + LANGUAGE + ObjC + SUPERCLASS + NSObject + + + CLASS + NSObject + LANGUAGE + ObjC + + + IBVersion + 1 + + diff --git a/sv.lproj/SUAutomaticUpdateAlert.nib/info.nib b/sv.lproj/SUAutomaticUpdateAlert.nib/info.nib new file mode 100644 index 00000000..c5a067e8 --- /dev/null +++ b/sv.lproj/SUAutomaticUpdateAlert.nib/info.nib @@ -0,0 +1,20 @@ + + + + + IBFramework Version + 670 + IBLastKnownRelativeProjectPath + ../Sparkle.xcodeproj + IBOldestOS + 5 + IBOpenObjects + + 6 + + IBSystem Version + 10A96 + targetFramework + IBCocoaFramework + + diff --git a/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib b/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 00000000..53cb91a9 Binary files /dev/null and b/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib differ diff --git a/sv.lproj/SUAutomaticUpdateAlert.strings b/sv.lproj/SUAutomaticUpdateAlert.strings index 7ea9eb81..edc90ac1 100644 Binary files a/sv.lproj/SUAutomaticUpdateAlert.strings and b/sv.lproj/SUAutomaticUpdateAlert.strings differ diff --git a/sv.lproj/SUUpdateAlert.nib/classes.nib b/sv.lproj/SUUpdateAlert.nib/classes.nib new file mode 100644 index 00000000..018710af --- /dev/null +++ b/sv.lproj/SUUpdateAlert.nib/classes.nib @@ -0,0 +1,39 @@ +{ + IBClasses = ( + { + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = NSApplication; + LANGUAGE = ObjC; + SUPERCLASS = NSResponder; + }, + { + CLASS = NSObject; + LANGUAGE = ObjC; + }, + { + ACTIONS = { + installUpdate = id; + remindMeLater = id; + skipThisVersion = id; + }; + CLASS = SUUpdateAlert; + LANGUAGE = ObjC; + OUTLETS = { + delegate = id; + description = NSTextField; + releaseNotesView = WebView; + }; + SUPERCLASS = SUWindowController; + }, + { + CLASS = SUWindowController; + LANGUAGE = ObjC; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file diff --git a/sv.lproj/SUUpdateAlert.nib/info.nib b/sv.lproj/SUUpdateAlert.nib/info.nib new file mode 100644 index 00000000..6b787d4b --- /dev/null +++ b/sv.lproj/SUUpdateAlert.nib/info.nib @@ -0,0 +1,18 @@ + + + + + IBDocumentLocation + 69 14 356 240 0 0 1280 778 + IBFramework Version + 489.0 + IBLastKnownRelativeProjectPath + ../Sparkle.xcodeproj + IBOldestOS + 5 + IBSystem Version + 9D34 + targetFramework + IBCocoaFramework + + diff --git a/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib b/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 00000000..7e6d490e Binary files /dev/null and b/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib differ diff --git a/sv.lproj/SUUpdateAlert.strings b/sv.lproj/SUUpdateAlert.strings index 9860e5f7..7ef37c0c 100644 Binary files a/sv.lproj/SUUpdateAlert.strings and b/sv.lproj/SUUpdateAlert.strings differ diff --git a/sv.lproj/SUUpdatePermissionPrompt.nib/classes.nib b/sv.lproj/SUUpdatePermissionPrompt.nib/classes.nib new file mode 100644 index 00000000..5220a221 --- /dev/null +++ b/sv.lproj/SUUpdatePermissionPrompt.nib/classes.nib @@ -0,0 +1,59 @@ + + + + + IBClasses + + + CLASS + SUWindowController + LANGUAGE + ObjC + SUPERCLASS + NSWindowController + + + ACTIONS + + finishPrompt + id + toggleMoreInfo + id + + CLASS + SUUpdatePermissionPrompt + LANGUAGE + ObjC + OUTLETS + + delegate + id + descriptionTextField + NSTextField + moreInfoButton + NSButton + moreInfoView + NSView + + SUPERCLASS + SUWindowController + + + CLASS + FirstResponder + LANGUAGE + ObjC + SUPERCLASS + NSObject + + + CLASS + NSObject + LANGUAGE + ObjC + + + IBVersion + 1 + + diff --git a/sv.lproj/SUUpdatePermissionPrompt.nib/info.nib b/sv.lproj/SUUpdatePermissionPrompt.nib/info.nib new file mode 100644 index 00000000..c5a067e8 --- /dev/null +++ b/sv.lproj/SUUpdatePermissionPrompt.nib/info.nib @@ -0,0 +1,20 @@ + + + + + IBFramework Version + 670 + IBLastKnownRelativeProjectPath + ../Sparkle.xcodeproj + IBOldestOS + 5 + IBOpenObjects + + 6 + + IBSystem Version + 10A96 + targetFramework + IBCocoaFramework + + diff --git a/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib b/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib new file mode 100644 index 00000000..64babac1 Binary files /dev/null and b/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib differ diff --git a/sv.lproj/Sparkle.strings b/sv.lproj/Sparkle.strings index 2be2d43f..115e2923 100644 Binary files a/sv.lproj/Sparkle.strings and b/sv.lproj/Sparkle.strings differ