amazon-ec2-mac-mdm-enrollment-automation
amazon-ec2-mac-mdm-enrollment-automation copied to clipboard
Fix: OSMajor var for Sequoia
Following the convention of explicitly supported OS, I noticed there are calls to specific OS through the entire script.
full paths for cliclick (/opt/homebrew/bin/cliclick) Ran into issue on Sequoia where System Events could not find cliclick while running AppleScript
Simplified the logic for OS version in both spots to output the major without conversion in the latest branch, including new instructions for Sequoia UI automation activation.