Skip to content

A CLI utility to "check" or "uncheck" "Open Using Rosetta" preference for Apple Silicon macs.

Notifications You must be signed in to change notification settings

tapthaker/SetArchPrefForURL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SetArchPrefForURL

A CLI utility to "check" or "uncheck" "Open Using Rosetta" preference for Apple Silicon macs.

Open Using Rosetta screenshot

Usage:

SetArchPrefForURL <path-to-the-app> <x86_64|arm64>

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.

Finder.app Smaple

About

A CLI utility to "check" or "uncheck" "Open Using Rosetta" preference for Apple Silicon macs.

Resources

Stars

Watchers

Forks

Packages

No packages published