Skip to content

Refactor to use --restart argument of softwareupdate, plus Catalina updates.

Latest
Compare
Choose a tag to compare
@ryangball ryangball released this 24 Nov 13:19
· 9 commits to master since this release
1c7e1f2

Updates

  • Leverage --restart argument of softwareupdate for 10.13.4 and above machines
  • Removed optional --no-scan option, it is now by default (this eliminates the support for OS X 10.10 and below)
  • Refactored softwareupdate output parsing to add functionality for Catalina and updates with spaces in their names
  • Switched loop method of installing updates that do not require a restart
  • Rather than calling finish function for exit, I now trap the EXIT code and run finish function with that
  • Includes ability to customize Yo action/other buttons - added by peterlewis

Deprecated Features

  • Removed notification that displays when updates that require a restart are installing, and somebody logs into the Mac during the process. In modern macOS versions, this install time is minimal while the Mac is in use, as the updates are truly installed after the restart in preboot process.