Last active
August 19, 2021 04:53
-
-
Save PoomSmart/30e564dbc1ce469e5d14d9322e10205a to your computer and use it in GitHub Desktop.
Enable Live Text Recognition on Intel-based Mac running macOS Monterey (12.0b1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
APP_TARGETS=(com.apple.Photos com.apple.Preview com.apple.quicklook.QuickLookUIService com.apple.Safari) | |
for APP_TARGET in "${APP_TARGETS[@]}" | |
do | |
defaults write /Users/$USER/Library/Containers/$APP_TARGET/Data/Library/Preferences/com.apple.VisionKit.InternalSettings com.apple.VisionKit.InternalSettings.overrideDeviceAvailability -bool yes | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
APP_TARGETS=(com.apple.Photos com.apple.Preview com.apple.quicklook.QuickLookUIService com.apple.Safari) | |
for APP_TARGET in "${APP_TARGETS[@]}" | |
do | |
defaults delete /Users/$USER/Library/Containers/$APP_TARGET/Data/Library/Preferences/com.apple.VisionKit.InternalSettings | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment