phinze/homebrew-cask

View on GitHub
Casks/j/jgrennison-openttd.rb

Summary

Maintainability
A
25 mins
Test Coverage
cask "jgrennison-openttd" do
  version "0.59.1"
  sha256 "84a492dba0df136586f99a5c337cb80c2d93c4a59d5c55343c3e1c03753d17c6"

  url "https://github.com/JGRennison/OpenTTD-patches/releases/download/jgrpp-#{version}/openttd-jgrpp-#{version}-macos-universal.dmg"
  name "JGR's OpenTTD Patchpack"
  desc "Collection of patches applied to OpenTTD"
  homepage "https://github.com/JGRennison/OpenTTD-patches/"

  app "OpenTTD.app"

  zap trash: [
    "~/Documents/OpenTTD",
    "~/Library/Application Support/CrashReporter/openttd_*.plist",
    "~/Library/Logs/DiagnosticReports/openttd_*.crash",
    "~/Library/Saved Application State/org.openttd.openttd.jgrpp.savedState",
    "~/Library/Saved Application State/org.openttd.openttd.savedState",
  ]
end