mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
profilecreator: add livecheck (#102453)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user