cask "geph" do version "4.99.17" sha256 "2ba9d55bdb32452eb0d302f07517a92e5fe186239295b8d7ce0a36a0d5c79c4f" url "https://dl.geph.io/geph-releases/macos-stable/#{version}/geph-macos.dmg" name "Geph" desc "Modular Internet censorship circumvention system" homepage "https://geph.io/en" livecheck do url :homepage regex(%r{href=.*?v?(\d+(?:\.\d+)+)/geph[._-]macos\.dmg}i) end app "Geph.app" zap trash: [ "~/Library/Application Support/gephgui#{version.major}", "~/Library/Preferences/io.geph.geph-electron.plist", ] end