From 2a58126d83887d65ed8af3889567e5e7aa34f586 Mon Sep 17 00:00:00 2001 From: Julien Blanchard Date: Wed, 1 Nov 2017 17:20:44 +0100 Subject: [PATCH] Update deployment target --- Terminal Notifier.xcodeproj/project.pbxproj | 8 ++++---- Terminal Notifier/AppDelegate.m | 2 +- Terminal Notifier/Terminal Notifier-Info.plist | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Terminal Notifier.xcodeproj/project.pbxproj b/Terminal Notifier.xcodeproj/project.pbxproj index 26bd385..e633490 100644 --- a/Terminal Notifier.xcodeproj/project.pbxproj +++ b/Terminal Notifier.xcodeproj/project.pbxproj @@ -231,7 +231,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.8; + MACOSX_DEPLOYMENT_TARGET = 10.10; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -253,7 +253,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.8; + MACOSX_DEPLOYMENT_TARGET = 10.10; SDKROOT = macosx; }; name = Release; @@ -265,7 +265,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Terminal Notifier/Terminal Notifier-Prefix.pch"; INFOPLIST_FILE = "Terminal Notifier/Terminal Notifier-Info.plist"; - MACOSX_DEPLOYMENT_TARGET = 10.8; + MACOSX_DEPLOYMENT_TARGET = 10.10; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; SDKROOT = macosx; @@ -280,7 +280,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Terminal Notifier/Terminal Notifier-Prefix.pch"; INFOPLIST_FILE = "Terminal Notifier/Terminal Notifier-Info.plist"; - MACOSX_DEPLOYMENT_TARGET = 10.8; + MACOSX_DEPLOYMENT_TARGET = 10.10; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; SDKROOT = macosx; diff --git a/Terminal Notifier/AppDelegate.m b/Terminal Notifier/AppDelegate.m index 71e3f84..97f2408 100644 --- a/Terminal Notifier/AppDelegate.m +++ b/Terminal Notifier/AppDelegate.m @@ -116,7 +116,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification; NSUserNotification *userNotification = notification.userInfo[NSApplicationLaunchUserNotificationKey]; if (userNotification) { [self userActivatedNotification:userNotification]; - + } else { if ([[[NSProcessInfo processInfo] arguments] indexOfObject:@"-help"] != NSNotFound) { [self printHelpBanner]; diff --git a/Terminal Notifier/Terminal Notifier-Info.plist b/Terminal Notifier/Terminal Notifier-Info.plist index 269f574..ed7af94 100644 --- a/Terminal Notifier/Terminal Notifier-Info.plist +++ b/Terminal Notifier/Terminal Notifier-Info.plist @@ -9,7 +9,7 @@ CFBundleIconFile Terminal CFBundleIdentifier - fr.julienxx.oss.${PRODUCT_NAME:rfc1034identifier} + fr.julienxx.oss.terminal-notifier CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -21,9 +21,9 @@ CFBundleSignature ???? CFBundleVersion - 20 + 15 LSMinimumSystemVersion - ${MACOSX_DEPLOYMENT_TARGET} + 10.10 LSUIElement NSHumanReadableCopyright