cask "modrinth" do version "0.22.0" sha256 "b39f9c228f770d4afd3a8ade20378dbf2bef9f2debf9e5cde983e9628bbd063b" url "https://launcher-files.modrinth.com/versions/#{version}/macos/Modrinth%20App_#{version}_universal.dmg" name "Modrinth App" desc "Minecraft modding platform" homepage "https://modrinth.com/" livecheck do url "https://launcher-files.modrinth.com/updates.json" strategy :json do |json| json["version"] end end auto_updates true depends_on :macos app "Modrinth App.app" uninstall quit: "com.modrinth.theseus" zap trash: [ "~/Library/Application Support/com.modrinth.theseus", "~/Library/Application Support/ModrinthApp", "~/Library/Caches/com.modrinth.theseus", "~/Library/Caches/ModrinthApp", "~/Library/HTTPStorages/ModrinthApp.binarycookies", "~/Library/Saved Application State/com.modrinth.theseus.savedState", "~/Library/WebKit/com.modrinth.theseus", "~/Library/WebKit/ModrinthApp", ] end