mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
35 lines
1.0 KiB
Ruby
35 lines
1.0 KiB
Ruby
cask "thunder" do
|
|
version "5.20.0.66074"
|
|
sha256 "d972352769e61f758c036b80991e994a86f39a00b69bf934993d7763cc5b53fc"
|
|
|
|
url "https://down.sandai.net/mac/thunder_#{version}.dmg",
|
|
verified: "down.sandai.net/mac/"
|
|
name "Thunder"
|
|
name "迅雷"
|
|
desc "VPN and WiFi proxy"
|
|
homepage "https://www.xunlei.com/"
|
|
|
|
livecheck do
|
|
url "https://dl.xunlei.com"
|
|
regex(/thunder[._-](\d+(?:\.\d+)+)\.dmg/i)
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "Thunder.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Thunder",
|
|
"~/Library/Caches/com.xunlei.Thunder",
|
|
"~/Library/Caches/com.xunlei.XLPlayer",
|
|
"~/Library/Cookies/com.xunlei.Thunder.binarycookies",
|
|
"~/Library/Preferences/com.xunlei.Thunder.loginSDK.plist",
|
|
"~/Library/Preferences/com.xunlei.Thunder.plist",
|
|
"~/Library/Preferences/com.xunlei.XLPlayer.plist",
|
|
"~/Library/Saved Application State/com.xunlei.Thunder.savedState",
|
|
"~/Library/Saved Application State/com.xunlei.XLPlayer.savedState",
|
|
"~/Library/WebKit/com.xunlei.Thunder",
|
|
]
|
|
end
|