Merge pull request #154419 from chenrui333/geomap-update-livecheck

geomap: update livecheck
This commit is contained in:
Bevan Kay
2023-09-06 10:41:17 +10:00
committed by GitHub
+3 -6
View File
@@ -5,20 +5,17 @@ cask "geomap" do
sha256 arm: "9b76e98cd954779658b5d41b9486e30315a6106ee9d44e429d38d1dd1c35b3e8",
intel: "07c69b0282bc6828e769a73e00fd6b87a4ec82669e80727fc5a35fd2b61b462f"
url "https://www.geomapapp.org/MapApp/GeoMapApp-#{version}-#{arch}.dmg"
url "https://app.geomapapp.org/MapApp/GeoMapApp-#{version}-#{arch}.dmg"
name "GeoMapApp"
desc "Browse, visualize and analyze geoscience data sets"
homepage "https://www.geomapapp.org/"
livecheck do
url :homepage
regex(/GeoMapApp\s*is.*?(\d+(?:\.\d+)+)\s*</i)
url "https://www.geomapapp.org/MacInstall.html"
regex(/href=.*?GeoMapApp[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg/i)
end
app "GeoMapApp.app"
zap trash: "~/.GMA"
end
# https://www.geomapapp.org/MapApp/GeoMapApp-3.7.1-Intel.dmg
# https://www.geomapapp.org/MapApp/GeoMapApp-3.7.1-Silicon.dmg