diff --git a/Casks/qdesktop.rb b/Casks/qdesktop.rb index eaffabe899..dcfd1be556 100644 --- a/Casks/qdesktop.rb +++ b/Casks/qdesktop.rb @@ -3,10 +3,19 @@ cask "qdesktop" do 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 diff --git a/audit_exceptions/github_prerelease_allowlist.json b/audit_exceptions/github_prerelease_allowlist.json index a2b7a32846..e153786651 100644 --- a/audit_exceptions/github_prerelease_allowlist.json +++ b/audit_exceptions/github_prerelease_allowlist.json @@ -18,6 +18,7 @@ "nuclear": "all", "pock": "all", "profilecreator": "all", + "qdesktop": "all", "syntax-highlight": "all", "toggl-track": "all", "xit": "all"