我的所有其他应用程序都安装到/Applications(这正是我想要的(,但itch.app安装到~/Applications。我尝试过brew reinstall --cask --appdir /Applications itch
,但只是将其重新安装到~/Applications。有什么建议吗?谢谢
您可以通过运行来查看itch的容器脚本
brew cask edit itch
您将看到:
cask "itch" do
version "1.18.0"
sha256 "cfc76d52483d3e649026f29ddb6f136207964ea54eee996ee62a7a4e17326e05"
url "https://broth.itch.ovh/itch-setup/darwin-amd64/#{version}/archive/default",
verified: "broth.itch.ovh/"
appcast "https://github.com/itchio/itch-setup/releases.atom"
name "itch.io"
homepage "https://itch.io/app"
installer script: "itch-setup"
uninstall delete: [
"~/Applications/itch.app",
"~/Library/Application Support/itch-setup/",
],
quit: "io.itch.mac"
zap trash: [
"~/Library/Application Support/itch/",
"~/Library/Preferences/io.itch.mac.helper.plist",
"~/Library/Preferences/io.itch.mac.plist",
]
end
文件夹~/Application
仅在卸载部分中定义。这意味着它自己将~/Application
定义为其安装目录。你也许可以破解itch来改变它,但你不能在自制啤酒级别上改变它。