cask "curseforge" do version "1.265.0-0" sha256 "814a9e43e62b26ea3a5897989ff73d2401ad7d068b960b11cd39572851702670" url "https://curseforge.overwolf.com/electron/mac/CurseForge-#{version}-universal-mac.zip" name "CurseForge" desc "Download and manage your addons and mods" homepage "https://curseforge.overwolf.com/" livecheck do url "https://curseforge.overwolf.com/electron/mac/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: ">= :high_sierra" app "CurseForge.app" uninstall launchctl: "com.overwolf.curseforge.ShipIt", quit: "com.overwolf.curseforge" zap trash: [ "~/Library/Application Support/Caches/curseforge-updater", "~/Library/Application Support/CurseForge", ] end