如何 brew install --cask itch.app 到 /Applications
how to brew install --cask itch.app to /Applications
我的所有其他应用程序都安装到 /Applications(这是我想要的),但 itch.app 安装到 ~/Applications。我试过 brew reinstall --cask --appdir /Applications itch
,但只是将它重新安装到 ~/Applications。有什么建议吗?谢谢
可以通过运行查看itch的cask脚本:
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
定义为安装目录是它自己痒的。你也许可以破解它来改变它,但你不能在 Homebrew 级别改变它。
我的所有其他应用程序都安装到 /Applications(这是我想要的),但 itch.app 安装到 ~/Applications。我试过 brew reinstall --cask --appdir /Applications itch
,但只是将它重新安装到 ~/Applications。有什么建议吗?谢谢
可以通过运行查看itch的cask脚本:
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
定义为安装目录是它自己痒的。你也许可以破解它来改变它,但你不能在 Homebrew 级别改变它。