-
Notifications
You must be signed in to change notification settings - Fork 192
userInterface
actionButtonPath
fallbackLanguage
forceFallbackLanguage
forceScreenShotIcon
iconDarkPath
iconLightPath
screenShotDarkPath
screenShotLightPath
showDeferralCount
simpleMode
singleQuitButton
updateElements
- Example (JSON)
- Example (Mobile Configuration)
v1.1.0 and higher only
A path to a URI for opening alternative actions, like Jamf Self Service items or Munki Self Service items.
- When using this key, you will lose the dynamic capability for
updateDevice
supporting minor / major upgrades, so it will be up to your separate tool to handle this logic.
The language to revert to if no localizations are available for the device's current language.
Force the custom localizations to the value of fallbackLanguage
.
Force the built-in ScreenShot icon to render in the UI if a ScreenShot path is not passed.
A path to a local jpg, png, icns that contains the icon for dark mode. This will replace the Apple logo on the left side of Nudge.
A path to a local jpg, png, icns that contains the icon for light mode. This will replace the Apple logo on the left side of Nudge.
A path to a local jpg, png, icns that contains the screen shot for dark mode. This will replace the Big Sur logo on the lower right side of Nudge.
A path to a local jpg, png, icns that contains the screen shot for light mode. This will replace the Big Sur logo on the lower right side of Nudge.
v1.1.0 and higher only Enables the deferral count in simpleMode and standardMode. Defaults to true to maintain v1.0 compatibility.
Note: While you can disable the deferral count, the deferral count behavior logic will still apply. This may confuse your users. Be mindful of disabling this setting.
Enables Nudge to launch in the simplified user experience
Only display one quit button regardless of proximity to the due date
A list of dictionaries, enabling further customization to the Nudge UI. Please see the updateElements wiki article for more information.
{
"userInterface": {
"actionButtonPath": "munki://updates",
"fallbackLanguage": "en",
"forceFallbackLanguage": false,
"forceScreenShotIcon": false,
"iconDarkPath": "/somewhere/logoDark.png",
"iconLightPath": "/somewhere/logoLight.png",
"screenShotDarkPath": "/somewhere/screenShotDark.png",
"screenShotLightPath": "/somewhere/screenShotLight.png",
"showDeferralCount": true,
"simpleMode": false,
"singleQuitButton": false,
"updateElements": []
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>Configures userInterface preferences</string>
<key>PayloadDisplayName</key>
<string>Nudge Preferences</string>
<key>PayloadIdentifier</key>
<string>com.github.macadmins.Nudge.preferences.example.userInterface</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadType</key>
<string>com.github.macadmins.Nudge</string>
<key>PayloadUUID</key>
<string>CA02957C-7472-446B-9F77-3E0414405556</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>userInterface</key>
<dict>
<key>actionButtonPath</key>
<string>munki://updates</key>
<key>fallbackLanguage</key>
<string>en</string>
<key>forceFallbackLanguage</key>
<false/>
<key>forceScreenShotIcon</key>
<false/>
<key>iconDarkPath</key>
<string>/somewhere/logoDark.png</string>
<key>iconLightPath</key>
<string>/somewhere/logoLight.png</string>
<key>screenShotDarkPath</key>
<string>/somewhere/screenShotDark.png</string>
<key>screenShotLightPath</key>
<string>/somewhere/screenShotLight.png</string>
<key>showDeferralCount</key>
<true/>
<key>simpleMode</key>
<false/>
<key>singleQuitButton</key>
<false/>
<key>updateElements</key>
<array/>
</dict>
</array>
<key>PayloadDescription</key>
<string>Configures Nudge application</string>
<key>PayloadDisplayName</key>
<string>Nudge</string>
<key>PayloadIdentifier</key>
<string>com.github.macadmins.Nudge.example.userInterface</string>
<key>PayloadOrganization</key>
<string>Nudge</string>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>2F54F734-132D-4539-B583-F1DCF23DB5EB</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>