mpanighetti / install-or-defer

A framework for prompting users of Jamf Pro-managed Macs to install Apple software updates.
Apache License 2.0
147 stars 28 forks source link

Adding option for lighter notification #82

Closed K3ll3r closed 2 years ago

K3ll3r commented 2 years ago

Adding a new boolean preference (DisableNotifyMsg) that will allow for a lighter messaging approach. If a user chooses to enable manual updates (instead of installing automatically via the softwareupdate command), enabling this preference means the user will be notified to update or defer as expected, but that the persistent window telling them to update (if they choose to install updates) is removed. Instead, if a user chooses to update, the System preferences pane is opened, but no additional message is displayed until the next deferral check (by default, every 4 hours). At the end of the max deferral time, if the user still has not updated, then the persistent message is applied.