profilecreator: add livecheck (#102453)

This commit is contained in:
Markus Reiter
2021-03-23 07:19:55 +05:30
committed by GitHub
parent 3e0c94bd15
commit 23452e3456
2 changed files with 9 additions and 1 deletions
+8 -1
View File
@@ -3,10 +3,17 @@ cask "profilecreator" do
sha256 "a4a1b45bfaa6bc83aac7ef532981aaa0c807cd17fbfb1f157980144e5d309aea"
url "https://github.com/erikberglund/ProfileCreator/releases/download/v#{version.before_comma}/ProfileCreator_v#{version.before_comma}-#{version.after_comma}.dmg"
appcast "https://github.com/erikberglund/ProfileCreator/releases.atom"
name "ProfileCreator"
homepage "https://github.com/erikberglund/ProfileCreator"
livecheck do
url :url
strategy :github_latest do |page|
match = page.match(%r{href=.*?/ProfileCreator_v(\d+(?:\.\d+)*)-(.*?)\.dmg}i)
"#{match[1]},#{match[2]}"
end
end
depends_on macos: ">= :sierra"
app "ProfileCreator.app"
@@ -17,6 +17,7 @@
"my-budget": "all",
"nuclear": "all",
"pock": "all",
"profilecreator": "all",
"syntax-highlight": "all",
"toggl-track": "all",
"xit": "all"