cask "modrinth" do version "0.8.9" sha256 "f8627dbf326ab31ae01eb4f1634d1e969c8449faabf1608d8ef2b23471486038" 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: ">= :high_sierra" app "Modrinth App.app" uninstall quit: "com.modrinth.theseus" zap trash: [ "~/Library/Application Support/com.modrinth.theseus", "~/Library/Caches/com.modrinth.theseus", "~/Library/Saved Application State/com.modrinth.theseus.savedState", "~/Library/WebKit/com.modrinth.theseus", ] end