mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
qdesktop: add livecheck (#102458)
This commit is contained in:
+10
-1
@@ -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
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"nuclear": "all",
|
||||
"pock": "all",
|
||||
"profilecreator": "all",
|
||||
"qdesktop": "all",
|
||||
"syntax-highlight": "all",
|
||||
"toggl-track": "all",
|
||||
"xit": "all"
|
||||
|
||||
Reference in New Issue
Block a user