feat(cask): [#2450] 初始化 Homebrew tap 并添加 clashx-meta cask
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
cask "clashx-meta" do
|
||||
version "1.4.38"
|
||||
sha256 "2639f0770c8adccfe2aac723d218e33b0a87f9950e1cb03432708d3e00d3e0d3"
|
||||
|
||||
url "https://github.com/MetaCubeX/ClashX.Meta/releases/download/v#{version}/ClashX.Meta.zip",
|
||||
verified: "github.com/MetaCubeX/ClashX.Meta/"
|
||||
name "ClashX Meta"
|
||||
desc "Rule-based custom proxy with GUI based on Clash.Meta"
|
||||
homepage "https://github.com/MetaCubeX/ClashX.Meta"
|
||||
|
||||
livecheck do
|
||||
url :url
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
auto_updates true
|
||||
depends_on macos: :monterey
|
||||
|
||||
app "ClashX Meta.app"
|
||||
|
||||
uninstall launchctl: "com.metacubex.ClashX.ProxyConfigHelper",
|
||||
quit: "com.metacubex.ClashX.meta",
|
||||
delete: [
|
||||
"/Library/LaunchDaemons/com.metacubex.ClashX.ProxyConfigHelper.plist",
|
||||
"/Library/PrivilegedHelperTools/com.metacubex.ClashX.ProxyConfigHelper",
|
||||
]
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/com.metacubex.ClashX.meta",
|
||||
"~/Library/Caches/com.metacubex.ClashX.meta",
|
||||
"~/Library/HTTPStorages/com.metacubex.ClashX.meta",
|
||||
"~/Library/Logs/ClashX Meta",
|
||||
"~/Library/Preferences/com.metacubex.ClashX.meta.plist",
|
||||
]
|
||||
end
|
||||
Reference in New Issue
Block a user