Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix option name for appIcon

  • Loading branch information...
commit e0526537bfbe245a77cedae3e9295e02e0285d30 1 parent 8f2e9a9
@julienXX authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 Terminal Notifier/AppDelegate.m
View
12 Terminal Notifier/AppDelegate.m
@@ -187,11 +187,11 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification;
if (message) {
NSMutableDictionary *options = [NSMutableDictionary dictionary];
- if (defaults[@"activate"]) options[@"bundleID"] = defaults[@"activate"];
- if (defaults[@"group"]) options[@"groupID"] = defaults[@"group"];
- if (defaults[@"execute"]) options[@"command"] = defaults[@"execute"];
- if (defaults[@"open"]) options[@"open"] = [defaults[@"open"] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
- if (defaults[@"appIcon"]) options[@"icon"] = defaults[@"appIcon"];
+ if (defaults[@"activate"]) options[@"bundleID"] = defaults[@"activate"];
+ if (defaults[@"group"]) options[@"groupID"] = defaults[@"group"];
+ if (defaults[@"execute"]) options[@"command"] = defaults[@"execute"];
+ if (defaults[@"open"]) options[@"open"] = [defaults[@"open"] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
+ if (defaults[@"appIcon"]) options[@"appIcon"] = defaults[@"appIcon"];
if (defaults[@"contentImage"]) options[@"contentImage"] = defaults[@"contentImage"];
[self deliverNotificationWithTitle:defaults[@"title"] ?: @"Terminal"
@@ -226,7 +226,7 @@ - (void)deliverNotificationWithTitle:(NSString *)title
userNotification.subtitle = subtitle;
userNotification.informativeText = message;
userNotification.userInfo = options;
-
+
if(isMavericks()){
// Mavericks options
if(options[@"appIcon"]){
Please sign in to comment.
Something went wrong with that request. Please try again.