diff --git a/Terminal Notifier.xcodeproj/project.pbxproj b/Terminal Notifier.xcodeproj/project.pbxproj index 26bd385..367222b 100644 --- a/Terminal Notifier.xcodeproj/project.pbxproj +++ b/Terminal Notifier.xcodeproj/project.pbxproj @@ -266,6 +266,7 @@ GCC_PREFIX_HEADER = "Terminal Notifier/Terminal Notifier-Prefix.pch"; INFOPLIST_FILE = "Terminal Notifier/Terminal Notifier-Info.plist"; MACOSX_DEPLOYMENT_TARGET = 10.8; + PRODUCT_BUNDLE_IDENTIFIER = "nl.superalloy.oss.terminal-notifier.radiant"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; SDKROOT = macosx; @@ -281,6 +282,7 @@ GCC_PREFIX_HEADER = "Terminal Notifier/Terminal Notifier-Prefix.pch"; INFOPLIST_FILE = "Terminal Notifier/Terminal Notifier-Info.plist"; MACOSX_DEPLOYMENT_TARGET = 10.8; + PRODUCT_BUNDLE_IDENTIFIER = "nl.superalloy.oss.terminal-notifier.radiant"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; SDKROOT = macosx; diff --git a/Terminal Notifier/AppDelegate.m b/Terminal Notifier/AppDelegate.m index 8b7d7ab..8b762b7 100644 --- a/Terminal Notifier/AppDelegate.m +++ b/Terminal Notifier/AppDelegate.m @@ -2,7 +2,7 @@ #import #import -NSString * const TerminalNotifierBundleID = @"nl.superalloy.oss.terminal-notifier"; +NSString * const TerminalNotifierBundleID = @"nl.superalloy.oss.terminal-notifier.radiant"; NSString * const NotificationCenterUIBundleID = @"com.apple.notificationcenterui"; // Set OS Params @@ -75,7 +75,7 @@ +(void)initializeUserDefaults if (isMavericks()) { //10.9 - appDefaults = @{@"sender": @"com.apple.Terminal"}; + appDefaults = @{@"sender": TerminalNotifierBundleID}; } else { //10.8 appDefaults = @{@"": @"message"}; diff --git a/Terminal Notifier/Terminal Notifier-Info.plist b/Terminal Notifier/Terminal Notifier-Info.plist index 668d1e7..6ae9a6b 100644 --- a/Terminal Notifier/Terminal Notifier-Info.plist +++ b/Terminal Notifier/Terminal Notifier-Info.plist @@ -9,7 +9,7 @@ CFBundleIconFile Terminal CFBundleIdentifier - nl.superalloy.oss.${PRODUCT_NAME:rfc1034identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName