+ 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
+ Updated to include "ongoing maintenance" functionality
+ Configured to pass parameters to the script instead of being included in the install .pkg (e.g. in a Jamf Pro environment)
+ Will now agree to licenses
+ Ability to install SDK components
+ Ability to update already installed SDK components
+ Fixed one if comparison statement
+ Adding a tag to track if device is running Mojave, this will be used, with additional logic, to prevent devices that upgrade from Mojave -> Big Sur from auto-upgrading its Falcon Sensor
+ Switched osascript calls to use System Events and passing via heredoc
+ Added "instance" variable for use to designate "prod" vs "dev" instances
- Removed the `Reset` action option -- provides duplicate functionality as just passing `production` as a group