Skip to content

Commit

Permalink
qdesktop: add livecheck (Homebrew#102458)
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Mar 23, 2021
1 parent a833fa3 commit 26784fe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Casks/qdesktop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@
sha256 "80091362a4350baf14aa0d78eae0078ee974f68b9fa440a75569a4e591d3813a"

url "https://github.com/qvacua/qdesktop/releases/download/v#{version.before_comma}-#{version.after_comma}/Qdesktop-#{version.before_comma}.zip"
appcast "https://github.com/qvacua/qdesktop/releases.atom"
name "Qdesktop"
desc "App to set a website as the desktop background"
homepage "https://github.com/qvacua/qdesktop"

livecheck do
url :url
strategy :git do |tags|
tags.map do |tag|
match = tag.match(/^v?(\d+(?:\.\d+)*)-(\d+)$/i)
"#{match[1]},#{match[2]}"
end
end
end

app "Qdesktop.app"
end
1 change: 1 addition & 0 deletions audit_exceptions/github_prerelease_allowlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"nuclear": "all",
"pock": "all",
"profilecreator": "all",
"qdesktop": "all",
"syntax-highlight": "all",
"toggl-track": "all",
"xit": "all"
Expand Down

0 comments on commit 26784fe

Please sign in to comment.