Last active
March 16, 2021 18:33
-
-
Save talkingmoose/8574a712e32d084a0f6465a45d278304 to your computer and use it in GitHub Desktop.
Example for using JamfHelper to display progress during setup.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/Library/Application\ Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper \ | |
-windowType fs \ | |
-title "This is the title" \ | |
-heading "This is the heading" \ | |
-description "Completing Step 1 of 4" \ | |
-icon /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/com.apple.cinema-display.icns & | |
sleep 2 | |
/Library/Application\ Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper \ | |
-windowType fs \ | |
-title "This is the title" \ | |
-heading "This is the heading" \ | |
-description "Completing Step 2 of 4" \ | |
-icon /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/com.apple.cinema-display.icns & | |
sleep 2 | |
/Library/Application\ Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper \ | |
-windowType fs \ | |
-title "This is the title" \ | |
-heading "This is the heading" \ | |
-description "Completing Step 3 of 4" \ | |
-icon /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/com.apple.cinema-display.icns & | |
sleep 2 | |
/Library/Application\ Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper \ | |
-windowType fs \ | |
-title "This is the title" \ | |
-heading "This is the heading" \ | |
-description "Completing Step 4 of 4" \ | |
-icon /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/com.apple.cinema-display.icns & | |
sleep 2 | |
/Library/Application\ Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper \ | |
-windowType fs \ | |
-title "This is the title" \ | |
-heading "This is the heading" \ | |
-description "Setup is complete." \ | |
-icon /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/com.apple.cinema-display.icns & | |
sleep 2 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment