focused: add livecheck (#96296)

This commit is contained in:
Markus Reiter 2020-12-21 18:11:05 +01:00 committed by GitHub
parent 1ef80b81a9
commit 86ab01bbc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -4,9 +4,15 @@ cask "focused" do
url "https://dl.devmate.com/com.71squared.focused/#{version.after_comma.before_colon}/#{version.after_colon}/Focused-#{version.after_comma.before_colon}.zip",
verified: "devmate.com/com.71squared.focused/"
appcast "https://updates.devmate.com/com.71squared.focused.xml"
name "Focused"
homepage "https://codebots.co.uk/"
livecheck do
url "https://updates.devmate.com/com.71squared.focused.xml"
strategy :sparkle do |item|
"#{item.short_version},#{item.version}:#{item.url[%r{/(\d+)/Focused-\d+\.zip}, 1]}"
end
end
app "Focused.app"
end