mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user