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

25 lines
823 B
Ruby

cask "geneious-prime" do
version "2024.0.5"
sha256 "462c7b1f2b33f4de202eb7611af3a9c46225052b8a48f64ab50fd228e74f612c"
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