Casks/g/gdevelop.rb
cask "gdevelop" do
version "5.4.210"
sha256 "db494ff0e2ef3ba0d70839911b827134fdfc2858098c3fefe99e56d9c3b8d4b6"
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