excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / v2ray-unofficial.rb
blob7a52979eca23cae6f98ad656b9c18911c15e3783
1 cask "v2ray-unofficial" do
2   version "2.3.1"
3   sha256 "c1f900950e4650190dc2bf67ad8fc51b4602be214b4807233d1175dfca855ea6"
5   url "https://github.com/Dr-Incognito/V2Ray-Desktop/releases/download/#{version}/V2Ray-Desktop-v#{version}-macOS-x86_64.dmg"
6   name "V2Ray Desktop"
7   desc "GUI client that supports Shadowsocks(R), V2Ray, and Trojan protocols"
8   homepage "https://github.com/Dr-Incognito/V2Ray-Desktop"
10   livecheck do
11     url :url
12     strategy :github_latest
13   end
15   app "V2Ray-Desktop.app"
17   zap trash: [
18     "~/Library/Preferences/V2Ray-Desktop",
19     "~/Library/Saved Application State/com.yourcompany.V2Ray-Desktop.savedState",
20   ]
22   caveats do
23     requires_rosetta
24   end
25 end