Dropping 10.9 support

This commit is contained in:
michael starke
2017-05-24 18:12:12 +02:00
parent 7b04331a2d
commit e6a73a2e65
18 changed files with 31 additions and 65 deletions

View File

@@ -196,7 +196,6 @@ NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDi
if(!self.passwordCreatorController) {
self.passwordCreatorController = [[MPPasswordCreatorViewController alloc] init];
self.passwordCreatorWindow.contentView = self.passwordCreatorController.view;
[self.passwordCreatorController updateResponderChain];
}
[self.passwordCreatorController reset];
[self.passwordCreatorWindow makeKeyAndOrderFront:self.passwordCreatorWindow];
@@ -233,7 +232,10 @@ NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDi
- (void)checkForUpdates:(id)sender {
#ifdef DEBUG
NSAlert *alert = [NSAlert alertWithMessageText:@"Updates are disabled!" defaultButton:@"Ok" alternateButton:nil otherButton:nil informativeTextWithFormat:@"Sparkle updates are only available in offical releases of %@!", NSApp.applicationName];
NSAlert *alert = [[NSAlert alloc] init];
alert.messageText = @"Updates are disabled!";
alert.informativeText = [NSString stringWithFormat:@"Sparkle updates are only available in offical releases of %@!", NSApp.applicationName];
[alert addButtonWithTitle:@"Ok"];
[alert runModal];
#else
[[SUUpdater sharedUpdater] checkForUpdates:sender];