mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 10:28:10 +08:00
[macOS] Enable voiceover applescript defaults (#4824)
* feat: enable voiceover applescript in defaults * refactor: reword comment * fix: grammar in VO comment
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user