diff --git a/AppPolice.xcodeproj/project.xcworkspace/xcuserdata/objective.xcuserdatad/UserInterfaceState.xcuserstate b/AppPolice.xcodeproj/project.xcworkspace/xcuserdata/objective.xcuserdatad/UserInterfaceState.xcuserstate index bb9858b..94dec78 100644 Binary files a/AppPolice.xcodeproj/project.xcworkspace/xcuserdata/objective.xcuserdatad/UserInterfaceState.xcuserstate and b/AppPolice.xcodeproj/project.xcworkspace/xcuserdata/objective.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/AppPolice/AppPolice-Info.plist b/AppPolice/AppPolice-Info.plist index 9f559a7..84c6818 100644 --- a/AppPolice/AppPolice-Info.plist +++ b/AppPolice/AppPolice-Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + 1.1 CFBundleSignature ???? CFBundleVersion - 1.0 + 2 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion @@ -27,7 +27,7 @@ LSUIElement NSHumanReadableCopyright - Copyright © 2013 Maksym Stefanchuk. All rights reserved. + Copyright © 2015 Maksym Stefanchuk NSMainNibFile MainMenu NSPrincipalClass diff --git a/AppPolice/Other/APAboutWindowController.h b/AppPolice/Other/APAboutWindowController.h index c2a76c1..9f90180 100644 --- a/AppPolice/Other/APAboutWindowController.h +++ b/AppPolice/Other/APAboutWindowController.h @@ -26,6 +26,7 @@ @property (assign) IBOutlet NSTextField *versionTextField; @property (assign) IBOutlet NSView *updateStatusView; @property (assign) IBOutlet NSButton *checkUpdatesButton; +@property (assign) IBOutlet NSTextField *copyrightTextField; @property (assign) IBOutlet APURLTextField *homepageTextField; @end diff --git a/AppPolice/Other/APAboutWindowController.m b/AppPolice/Other/APAboutWindowController.m index 0599af4..48a9e11 100644 --- a/AppPolice/Other/APAboutWindowController.m +++ b/AppPolice/Other/APAboutWindowController.m @@ -39,6 +39,9 @@ - (void)windowDidLoad { NSDictionary *bundleInfo = [[NSBundle mainBundle] infoDictionary]; [[self versionTextField] setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Version: %@", @"About window"), [bundleInfo objectForKey:@"CFBundleShortVersionString"]]]; [[self homepageTextField] setURLAttribute:@"http://definemac.com/"]; + + NSString *copyright = [bundleInfo valueForKey:@"NSHumanReadableCopyright"]; + [[self copyrightTextField] setStringValue:copyright]; } diff --git a/AppPolice/UserDefaults.plist b/AppPolice/UserDefaults.plist index 359d408..1b7f468 100644 --- a/AppPolice/UserDefaults.plist +++ b/AppPolice/UserDefaults.plist @@ -10,6 +10,8 @@ APLaunchAtLogin + APRestoreApplicationLimits + APProcCpulimTaskScheduleInterval 30000000 diff --git a/AppPolice/en.lproj/APAboutWindow.xib b/AppPolice/en.lproj/APAboutWindow.xib index 01f560e..87f7aea 100644 --- a/AppPolice/en.lproj/APAboutWindow.xib +++ b/AppPolice/en.lproj/APAboutWindow.xib @@ -1,13 +1,14 @@ - + - - + + + @@ -15,50 +16,45 @@ - - + + - + - - + - - + - + - - + -