File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -187,11 +187,11 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification;
187
187
188
188
if (message) {
189
189
NSMutableDictionary *options = [NSMutableDictionary dictionary ];
190
- if (defaults[@" activate" ]) options[@" bundleID" ] = defaults[@" activate" ];
191
- if (defaults[@" group" ]) options[@" groupID" ] = defaults[@" group" ];
192
- if (defaults[@" execute" ]) options[@" command" ] = defaults[@" execute" ];
193
- if (defaults[@" open" ]) options[@" open" ] = [defaults[@" open" ] stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding];
194
- if (defaults[@" appIcon" ]) options[@" icon " ] = defaults[@" appIcon" ];
190
+ if (defaults[@" activate" ]) options[@" bundleID" ] = defaults[@" activate" ];
191
+ if (defaults[@" group" ]) options[@" groupID" ] = defaults[@" group" ];
192
+ if (defaults[@" execute" ]) options[@" command" ] = defaults[@" execute" ];
193
+ if (defaults[@" open" ]) options[@" open" ] = [defaults[@" open" ] stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding];
194
+ if (defaults[@" appIcon" ]) options[@" appIcon " ] = defaults[@" appIcon" ];
195
195
if (defaults[@" contentImage" ]) options[@" contentImage" ] = defaults[@" contentImage" ];
196
196
197
197
[self deliverNotificationWithTitle: defaults[@" title" ] ?: @" Terminal"
@@ -226,7 +226,7 @@ - (void)deliverNotificationWithTitle:(NSString *)title
226
226
userNotification.subtitle = subtitle;
227
227
userNotification.informativeText = message;
228
228
userNotification.userInfo = options;
229
-
229
+
230
230
if (isMavericks ()){
231
231
// Mavericks options
232
232
if (options[@" appIcon" ]){
You can’t perform that action at this time.
0 commit comments