cask "guild-wars2" do # NOTE: "2" is not a version number, but an intrinsic part of the product name version "1.0" sha256 :no_check url "https://gw2cdn.s3.amazonaws.com/client/branches/Gw2Setup-64.dmg", verified: "gw2cdn.s3.amazonaws.com/" name "Guild Wars 2" homepage "https://www.guildwars2.com/" livecheck do url :url strategy :extract_plist end app "Guild Wars 2 64-bit.app" zap trash: [ "~/Library/Application Support/Guild Wars 2", "~/Library/Preferences/net.arena.Guild-Wars-2.plist", "~/Library/Saved Application State/net.arena.Guild-Wars-2.savedState", ] end