SetArchPrefForURL
A CLI utility to "check" or "uncheck" "Open Using Rosetta" preference for Apple Silicon macs.
Usage:
SetArchPrefForURL
How does this work ?
The CLI tool calls a private function _LSSetArchitecturePreferenceForApplicationURL
defined in CoreServices.framework
. This is same way that Finder.app
updates the preference.