homebrew-cask/Casks/g/geneious-prime.rb

25 lines
823 B
Ruby

cask "geneious-prime" do
version "2023.2.1"
sha256 "dabbfecb95fbed44fdc226d088befd3f13d9d853add9113795af9d1fac15d7a6"
url "https://assets.geneious.com/installers/geneious/release/Geneious_Prime_mac64_#{version.dots_to_underscores}_with_jre.dmg"
name "Geneious Prime"
desc "Bioinformatics software platform"
homepage "https://www.geneious.com/"
livecheck do
url "https://assets.geneious.com/documentation/geneious/release_notes.html"
regex(/href="#v?(\d+(?:\.\d+)+)">/i)
end
app "Geneious Prime.app"
zap trash: [
"~/Geneious #{version.major}.0 Data",
"~/Library/Application Support/Geneious",
"~/Library/Preferences/com.biomatters.*.plist",
"~/Library/Preferences/Geneious.in.use.vmoptions",
"~/Library/Saved Application State/com.biomatters.Geneious.savedState",
]
end