cask "gdevelop" do version "5.6.283" sha256 "6101964a28f926328780ca82fd93ee34e050de1327da6258f914963134b5ee26" url "https://github.com/4ian/GDevelop/releases/download/v#{version}/GDevelop-#{version.major}-#{version}-universal.dmg" 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 depends_on :macos app "GDevelop #{version.major}.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.gdevelop-app.ide.sfl*", "~/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