mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #159415 from samford/clash-casks-discontinued
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
cask "clash-for-windows" do
|
||||
arch arm: "-arm64"
|
||||
|
||||
version "0.20.39"
|
||||
sha256 arm: "479d9cef5932d70506592869b01e6e12a4c61411307c0d83615ba3f6c2b41631",
|
||||
intel: "5b6bec7cc143f4d95b6ed4d830b20347000aad06edb3d8e5e95daa97481d83af"
|
||||
|
||||
url "https://github.com/Fndroid/clash_for_windows_pkg/releases/download/#{version}/Clash.for.Windows-#{version}#{arch}.dmg"
|
||||
name "Clash for Windows"
|
||||
desc "GUI based on Clash"
|
||||
homepage "https://github.com/Fndroid/clash_for_windows_pkg"
|
||||
|
||||
livecheck do
|
||||
url :url
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
auto_updates true
|
||||
depends_on macos: ">= :high_sierra"
|
||||
|
||||
app "Clash for Windows.app"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/clash_win",
|
||||
"~/Library/Logs/clash_win",
|
||||
"~/Library/Preferences/com.lbyczf.clashwin.plist",
|
||||
]
|
||||
end
|
||||
@@ -1,37 +0,0 @@
|
||||
cask "clashx" do
|
||||
version "1.118.0"
|
||||
sha256 "c7399660f739eb0eb86e4fb1a5da854318db356bef3a80bcd15a5d329fd5a8b0"
|
||||
|
||||
url "https://github.com/yichengchen/clashX/releases/download/#{version}/ClashX.dmg"
|
||||
name "ClashX"
|
||||
desc "Rule-based custom proxy with GUI based on clash"
|
||||
homepage "https://github.com/yichengchen/clashX"
|
||||
|
||||
livecheck do
|
||||
url :url
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
auto_updates true
|
||||
depends_on macos: ">= :sierra"
|
||||
|
||||
app "ClashX.app"
|
||||
|
||||
uninstall delete: [
|
||||
"/Library/LaunchDaemons/com.west2online.ClashX.ProxyConfigHelper.plist",
|
||||
"/Library/PrivilegedHelperTools/com.west2online.ClashX.ProxyConfigHelper",
|
||||
],
|
||||
launchctl: "com.west2online.ClashX.ProxyConfigHelper",
|
||||
quit: "com.west2online.ClashX"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/com.west2online.ClashX",
|
||||
"~/Library/Caches/com.crashlytics.data/com.west2online.ClashX",
|
||||
"~/Library/Caches/com.west2online.ClashX",
|
||||
"~/Library/Caches/io.fabric.sdk.mac.data/com.west2online.ClashX",
|
||||
"~/Library/Cookies/com.west2online.ClashX.binarycookies",
|
||||
"~/Library/Logs/ClashX",
|
||||
"~/Library/Preferences/com.west2online.ClashX.plist",
|
||||
"~/.config/clash/",
|
||||
]
|
||||
end
|
||||
Reference in New Issue
Block a user