mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
30 lines
990 B
Ruby
30 lines
990 B
Ruby
cask "grandtotal" do
|
|
version "8.2.0.5"
|
|
sha256 "5e32c443baf497b6edbc04ab361b1017a917c9468e43869220cc74dd76ee0659"
|
|
|
|
url "https://www.mediaatelier.com/GrandTotal#{version.major}/GrandTotal_#{version}.dmg"
|
|
name "GrandTotal"
|
|
desc "Create invoices and estimates"
|
|
homepage "https://www.mediaatelier.com/GrandTotal#{version.major}/"
|
|
|
|
livecheck do
|
|
url "https://www.mediaatelier.com/GrandTotal#{version.major}/feed.php"
|
|
regex(/GrandTotal[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
|
|
strategy :sparkle do |items, regex|
|
|
items.map { |item| item.url[regex, 1] }
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "GrandTotal.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.mediaatelier.GrandTotal3",
|
|
"~/Library/Caches/com.mediaatelier.GrandTotal3",
|
|
"~/Library/HTTPStorages/com.mediaatelier.GrandTotal3",
|
|
"~/Library/Preferences/com.mediaatelier.GrandTotal3.plist",
|
|
"~/Library/Saved Application State/com.mediaatelier.GrandTotal3.savedState",
|
|
]
|
|
end
|