mpanighetti / install-or-defer

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

adding option to allow update through SysPrefs instead of force-install #80

Closed K3ll3r closed 2 years ago

K3ll3r commented 2 years ago

Adds a configuration profile setting (SysPrefsUpdate) that, when enabled, changes the behavior of the "Install" button to simply open the System Preferences > Software Update pane. This is similar to the behavior for M1 machines, except when the deferral window ends, the script will attempt to install the available updates using the softwareupdate command.

This PR is in response to the stability issues we've seen with the softwareupdate command.