Add pingnoo version 2021.04.30 (#120000)

* Add pingnoo version 2021.04.30

* Use the brew standard version regex.

* Bugfix. Missed trailing part of regex.

* Add zap stanza. Props @neutric
This commit is contained in:
Callum Macdonald
2022-03-10 09:53:52 +11:00
committed by GitHub
parent ee9ce7323b
commit a8fb9dca77
+25
View File
@@ -0,0 +1,25 @@
cask "pingnoo" do
version "2021.04.30-develop"
sha256 "827db036cdc0535bac5b9a1fcf9de4bdaea54ecd5bded702c127303229f10378"
url "https://github.com/nedrysoft/pingnoo/releases/download/#{version}/Pingnoo.#{version}.universal.dmg",
verified: "github.com/nedrysoft/pingnoo/"
name "pingnoo"
desc "Open-source cross-platform traceroute/ping analyser"
homepage "https://www.pingnoo.com/"
livecheck do
url :url
strategy :github_latest
regex(%r{href=.*?/tag/v?(\d+(?:\.\d+)+-\w+)["' >]}i)
end
depends_on macos: ">= :high_sierra"
app "Pingnoo.app"
zap trash: [
"~/Library/Application Support/Nedrysoft",
"~/Library/Saved Application State/com.nedrysoft.pingnoo.savedState",
]
end