- New
--current-user
option to use the current logged in user forstartosinstall
authorisation on M1/DTK Macs. - New
--user
option to specify a user forstartosinstall
authorisation on M1/DTK Macs. - Now checks whether the specified user is an administrator.
- Now checks whether the specified user has a Secure Token.
- Now checks if the given password is correct.
- New
--no-fs
option for replacing the full-screen display with a utility window (for testing purposes). - Now quits
caffeinate
before beginningstartosinstall
. - Now correctly identifies Apple Silicon Mac Device IDs for compatibility checks.
- Now gets the installer version from
/Volumes/Shared Support/com_apple_MobileAsset_MacSoftwareUpdate/com_apple_MobileAsset_MacSoftwareUpdate.xml
as this is a more reliable build number than the one inInfo.plist
. - Now makes more reliable version comparisons using
BuildVersion
by splitting the check into more sections (AABCCDDE
instead ofAABCCCCD
). - Script version number is now displayed when running the script. I just have to remember to update it...
- added
--list-full-installers
option which runssoftwareupdate --list-full-installers
according to the seedprogram selected. test-erase-install.sh
script is now included in the installer package.