Merge pull request #163454 from samford/phd2-2.6.13

phd2 2.6.13
This commit is contained in:
Bevan Kay
2023-12-30 13:01:40 +11:00
committed by GitHub
+28 -8
View File
@@ -1,16 +1,36 @@
cask "phd2" do
version "2.6.12"
sha256 "3f30394349b963b3bc7164a7341743667c5d9a5c9e1da2d2b18ac25506a7c508"
version "2.6.13"
on_ventura :or_older do
sha256 "3d098cc6ccaa7ddf5040e51ca9f423647fe167948d7d92bece456fa207491b7f"
url "https://openphdguiding.org/PHD2-#{version}-OSX-64.zip"
livecheck do
url "https://openphdguiding.org/downloads/"
regex(/href=.*?PHD2[._-]v?(\d+(?:\.\d+)+)-OSX-64\.zip/i)
end
end
on_sonoma :or_newer do
sha256 "c8ea80bfaa57d7092e7b8ce67f6b905a768bf0b9e810f3c1faa065072feace2d"
url "https://openphdguiding.org/PHD2-#{version}-OSX-64-sonoma+.zip"
livecheck do
url "https://openphdguiding.org/downloads/"
regex(/href=.*?PHD2[._-]v?(\d+(?:\.\d+)+)-OSX-64-sonoma\+\.zip/i)
end
end
url "https://openphdguiding.org/PHD2-#{version}-OSX-64.zip"
name "PHD2"
desc "Telescope guiding software"
homepage "https://openphdguiding.org/"
livecheck do
url "https://openphdguiding.org/changelog/"
regex(%r{href=.*?/PHD2-(\d+(?:\.\d+)*)-OSX-64\.zip}i)
end
app "PHD2.app"
zap trash: [
"~/Documents/PHD2",
"~/Library/Preferences/org.openphdguiding.phd2.plist",
"~/Library/Saved Application State/org.openphdguiding.phd2.savedState",
]
end