diff --git a/images/macos/provision/configuration/configure-machine.sh b/images/macos/provision/configuration/configure-machine.sh index 89ecfa020115..a3b7c039d6d4 100644 --- a/images/macos/provision/configuration/configure-machine.sh +++ b/images/macos/provision/configuration/configure-machine.sh @@ -17,10 +17,13 @@ if [ -d "/Library/Application Support/VMware Tools" ]; then sudo "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1176 885 fi -# Update VoiceOver Utility to allow VoiceOver to be controlled with AppleScript by creating a special file (SIP must be disabled) +# Update VoiceOver Utility to allow VoiceOver to be controlled with AppleScript +# by creating a special Accessibility DB file (SIP must be disabled) and +# updating the user defaults system to reflect this change. if csrutil status | grep -Eq "System Integrity Protection status: (disabled|unknown)"; then sudo bash -c 'echo -n "a" > /private/var/db/Accessibility/.VoiceOverAppleScriptEnabled' fi +defaults write com.apple.VoiceOver4/default SCREnableAppleScript -bool YES # https://developer.apple.com/support/expiration/ # Enterprise iOS Distribution Certificates generated between February 7 and September 1st, 2020 will expire on February 7, 2023.