* Major refactor
* \+ Switched to using Regex to determine which models _are not_ compatible with each OS versions
* This should make the logic much more reliable and easier to maintain going forward
* \- This also allowed the removal of model specific check functions, although the MacPro logic will still be required due to additional configuration and hardware checks
* Separated the model and upgrading to/from os version validation checks
* \- Removed unnecessary runtime calculations; instead hard coding static values that will not change
* \+ Improved required storage check to validate against technical space minimals depending on current OS version
* Moved logic around to only execute if needed, instead of wasting cycles
* Overall, script executes two-to-three times faster
* Renamed script
* Major refactor
* \+ Switched to using Regex to determine which models _are not_ compatible with each OS versions
* This should make the logic much more reliable and easier to maintain going forward
* \- This also allowed the removal of model specific check functions, although the MacPro logic will still be required due to additional configuration and hardware checks
* Separated the model and upgrading to/from os version validation checks
* \- Removed unnecessary runtime calculations; instead hard coding static values that will not change
* \+ Improved required storage check to validate against technical space minimals depending on current OS version
* Moved logic around to only execute if needed, instead of wasting cycles
* Overall, script executes two-to-three times faster
Revert change excluding 16,1 from Monterey.... Apple's numerous pages are vague, misleading, or incorrect.
https://support.apple.com/en-us/HT201634 - Shows that the iMac (Retina 5K, 27-inch, Mid 2015), Model Identifier: iMac15,1 still supports Monterey when it does not.
This script is now used in an AutoPkg recipe.
The recipe builds a pkg and uses this script as a postinstall script to provide a similar functionality as the previous revision.
This change will allow for quicker and easier support for updates to the Office Reset utility.
+ Accounted for the scenario where the Falcon Service (falconctl stats) errored/failed to provide the expected info
+ This should correct devices reporting `Invalid Customer ID; SysExt not loaded` incorrectly
+ Fixed a logic error where only the _last_ system extension status (from `systemextensionsctl list`) is checked -- the last may not be the most recent
+ Added an additional "acceptable" system extension state that would result in a passed check (`activated waiting to upgrade`)
- Removed logic supporting older Sensor versions
+ Fixed issue where subprocess was returning bytes-like objects instead of string objects
+ Fixed incorrect argument check in an if statement
+ Switched to requests
+ Minor logic improvements
+ Added a local log to track EA value history since this function isn't available within Jamf Pro
+ Updated minimally "supported" OS Version to 10.14 (not supported, but will connect to the cloud)
+ Automatically reporting v5.x location sensors as not supported
- Removed logic for checking v5.x sensors
+ Reporting 6.17 and older sensor versions as not supported
+ Added success check for the Python3 filter_state check
+ Improved the system extension status check by creating an array to handle cases where multiple system extensions are present
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
AutoCAD patches will not install from command line, only via GUI. This because they have a script that runs on launch of the .pkg (via GUI) that locates the base .app that needs to be upgraded, and then creates a symlink to that .app in /tmp.
This updated "fixes" this issue with the usual trickery.
+ Corrected a logic error in the iMac and MBP ModelCheck functions for the minor hardware revisions that are supported with newer OS versions while others are not
+ Removed `$` from variables in arithmetic expressions as they are unnecessary
+ Missed Monterey support for MBP 11,4 and 11,5; addressed in this updated
+ Added a MBP specific model check function
+ Corrected a logic error for the latest model checks in a the iMacModelCheck
+ Multiple extension versions can show up in the list from `/usr/bin/systemextensionsctl list`, added logic to only check against the sensor version currently installed.
+ Fixed logical error the Network Filter State conditional...whoops