一些常用的macOS命令
选择架构执行命令
# arch -arm64
arch -arm64 brew install
移除 quarantine 标记
sudo xattr -rd com.apple.quarantine /Applications/Easydict.app
# You may need to self sign it as well:
codesign --force --deep --sign - example.app
删除当前目录下的 DS_Store 文件
find ./ -name ".DS_Store" -depth -exec rm {} \;
brew 设置系统版本
e.g: 升级到了 macOS 27 beta,brew 完全不能安装软件,这个时候需要设置上个 release 版。
export HOMEBREW_FAKE_MACOS=26