cask "gdevelop" do version "5.4.218" sha256 "7730787e3a293beb6c62539bedd1489462e45a31fed09a0a182f189b9796af97" url "https://github.com/4ian/GDevelop/releases/download/v#{version}/GDevelop-#{version.major}-#{version}-universal.dmg", verified: "github.com/4ian/GDevelop/" name "GDevelop" desc "Open-source, cross-platform game engine designed to be used by everyone" homepage "https://gdevelop.io/" livecheck do url :url strategy :github_latest end app "GDevelop #{version.major}.app" zap trash: [ "~/Library/Application Support/GDevelop #{version.major}", "~/Library/Logs/GDevelop #{version.major}", "~/Library/Preferences/com.gdevelop-app.ide.plist", "~/Library/Saved Application State/com.gdevelop-app.ide.savedState", ] end