Magical Mallards
This release of precache.py
introduces a few changes:
- The
-os
/--os-installer
flag is now hard deprecated in favour of using-m
/--models
- please update any scripts or LaunchDaemon/LaunchAgent files you use to run the script. - IPSW files can now be optionally saved to an alternative location by using the
-o
/--output
flag with a folder path. The folder path is created if it doesn't exist. - The Apple Software Update catalog feed is used to look for macOS combo updates, Safari updates, iTunes updates, and RAW Camera updates.
- The script will force a check/update for available Caching Servers on its network (uses
AssetCacheLocatorUtil
if available). - The script determines if the local machine is a Caching Server, or if the local machine knows about a remote server. If it can't find one, it will fallback to a default setting. Alternative Caching Server details can still be provided.
- Certain Mac App Store (MAS) apps can be cached out of the box. This includes several past macOS releases.
- Refactored redundant/duplicate code, and improved the portability of the script. Testing has been done on a macOS 10.12.0 machine, so send feedback if you have problems running this on a Linux/Windows machine.
For any errors/bugs, please raise an issue along with any exception messages, or log output.