Casks/s/surfshark.rb
cask "surfshark" do
version "4.15.1,2271"
sha256 "2ceb95a1ff6905e83c43a8bac273f549be0cdaab0bc256f8a86dcbf623674186"
url "https://downloads.surfshark.com/macOS/stable/#{version.csv.first}/#{version.csv.second}/Surfshark.dmg"
name "Surfshark"
desc "VPN client for secure internet access and private browsing"
homepage "https://surfshark.com/"
livecheck do
url "https://downloads.surfshark.com/macOS/stable/appcast.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :catalina"
app "Surfshark.app"
zap trash: [
"~/Library/Application Scripts/com.surfshark.vpnclient.macos*",
"~/Library/Application Support/CrashReporter/Surfshark.OpenVPN_*.plist",
"~/Library/Containers/com.surfshark.vpnclient.macos*",
"~/Library/Group Containers/YHUG37CKN8.com.surfshark.vpn",
"~/Library/Saved Application State/com.surfshark.vpnclient.macos.savedState",
]
end