Skip to content

Choose a tag to compare

@macmule macmule released this 02 Nov 17:22
5da13bc

Notifier 4.0

Changes

• Minimum OS now macOS 12.
• Signed and notarised as Jamf.
• Bundle IDs updated to Jamf bundle IDs — the PPPC profile has been updated to match:

App Old New
Notifier.app uk.co.dataJAR.Notifier com.jamf.notifier
Notifier - Alerts.app uk.co.dataJAR.NotifierAlerts com.jamf.notifier.alerts
Notifier - Notifications.app uk.co.dataJAR.NotifierNotifications com.jamf.notifier.notifications

New Features

--messagebutton2 / --messagebutton2action
Adds a second configurable action button to alert-style notifications. --messagebutton2 requires --messagebutton to also be passed. --messagebutton2action fires when that button is clicked.

--messagedismissaction
Fires when the user explicitly clicks the (X) button to dismiss a notification.

{loggedInUser} placeholder
Action arguments support the {loggedInUser} placeholder, which is resolved to the name of the user who interacts with the notification at click time. This is useful when Notifier is invoked as root (e.g. via a Jamf policy) but the action should target the logged-in user:

--messagebuttonaction "/usr/bin/say hello {loggedInUser}"

Bug Fixes & Improvements

• ArgParser rewritten — all @option / @Flag descriptions expanded. Action options grouped into NotificationActionOptions: ParsableArguments, displayed under a dedicated "Notification Actions" help section.
• Docstrings — all functions across all three targets documented with /// doc comments compatible with DocC.
• Copyright corrected.

Full Changelog

3.1...4.0