+ 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
remove default python, allow option for bash
Plus:
From @MLBZ521
* Check if $python_path exists, if it doesn't fall back to `defaults read`
* Add full path to binaries
* Add a value check for $filter_state for the result from `defaults read`
Changes:
* Check if $python_path exists, if it doesn't fall back to `defaults read`
* Add full path to binaries
* Add a value check for $filter_state for the result from `defaults read`
+ Accounted for the softwareupdate journal.plist not existing after upgrading from 10.x to 11
+ Improved code by simplifying logic, break logic up into functions, etc
+ Added a check to verify and create the `licenses` folder if it doesn't exist -- popped up with R2021a
+ Setting file permissions
+ Updated style and other improvements
+ Fixed the `sdkmanager --install` logic
+ Verifying if `sdkmanager --install` & `sdkmanager --update` are successful
+ Adjusted case-sensing logic for some passed parameters
+ Added a "default" LaunchAgent label value in case one is not passed