You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+19-15
Original file line number
Diff line number
Diff line change
@@ -7,20 +7,24 @@ which are available on macOS 10.8 and higher.
7
7
## Caveats
8
8
9
9
* On macOS 10.8, the `-appIcon` and `-contentImage` options do nothing.
10
-
This is because Notification Center on 10.8 _always_ uses the application’s own icon.
11
-
10
+
This is because Notification Center on 10.8 _always_ uses the application’s own icon.
11
+
12
12
You can do one of the following to work around this limitation on 10.8:
13
13
- Use the `-sender` option to “fake it” (see below)
14
-
- Include a build of terminal-notifier with your icon **and a different bundle identifier**.
14
+
- Include a build of terminal-notifier with your icon **and a different bundle identifier**.
15
15
(If you don’t change the bundle identifier, launch services uses a cached version of the icon.)
16
-
16
+
17
17
However, you _can_ use unicode symbols and emojis! See the examples.
18
18
19
19
* It is currently packaged as an application bundle, because `NSUserNotification`
20
20
does not work from a ‘Foundation tool’. [radar://11956694](radar://11956694)
21
21
22
22
* If you intend to package terminal-notifier with your app to distribute it on the Mac App Store, please use 1.5.2; version 1.6.0+ uses a private method override, which is not allowed in the App Store Guidelines.
23
23
24
+
* To enable actions on the notification (the buttons that allow the user to select an option),
25
+
open System Preferences > Notifications, select terminal-notifer in the sidebar, and select the "Alerts" alert style.
26
+

0 commit comments