Closed master-vodawagner closed 10 months ago
The only problem I've found with this solution and our testing of API calls is determining when the clean_up function should be called prior to the automated restart via APNS...........
This branch is somewhat out of sync with main at this point, and I've closed #54 since update reliability has been somewhat improved in later versions of macOS Ventura (and all the affected macOS releases are no longer receiving bug fixes from Apple beyond security patches). If these changes are something you still want to explore, feel free to submit an updated PR accounting for previous changes in the parent script.
This forces install or defer to call softwareupdate --list on the initial install of the PKG, subsequent execution of the script via the LaunchDaemon runtime length will bypass softwareupdate --list and use the existing information when prompting the user to defer or install.
54