cask "badlion-client" do arch arm: "-arm64" version "4.5.0" sha256 arm: "1198e9794c5c537fae8b880562990aeda29217066092b7043c9634413be380c4", intel: "8e85fd6f3399e399ee859c9f0413cc01ab9dea738281b374fdda40d08c8f1c8c" url "https://client-updates.badlion.net/Badlion%20Client-#{version}#{arch}.dmg" name "Badlion Client" desc "Minecraft launcher" homepage "https://www.badlion.net/" livecheck do url "https://client-updates.badlion.net/latest-mac.yml" strategy :electron_builder end auto_updates true app "Badlion Client.app" zap trash: [ "~/Library/Application Support/Badlion Client", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/net.badlion.client.sfl*", "~/Library/Caches/net.badlion.client", "~/Library/Caches/net.badlion.client.ShipIt", "~/Library/Logs/Badlion Client", "~/Library/Preferences/net.badlion.client.plist", "~/Library/Saved Application State/net.badlion.client.savedState", ] end