mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
The migration of `orka.rb` and then `o*.rb` has worked well without complaint so: let's move everything else, too.
24 lines
548 B
Ruby
24 lines
548 B
Ruby
cask "monofocus" do
|
|
version "1.0.beta35"
|
|
sha256 :no_check
|
|
|
|
url "https://updates.monofocus.app/MonoFocus.latest.dmg"
|
|
name "MonoFocus"
|
|
desc "Keep all tasks from your todo apps on your menu bar"
|
|
homepage "https://monofocus.app/"
|
|
|
|
livecheck do
|
|
url :url
|
|
regex(/^v?(\d+(?:\.\d+)+\S*)/i)
|
|
strategy :extract_plist do |items, regex|
|
|
items["com.zbudniewek.WorkingOn"]&.short_version&.scan(regex)&.map { |match| match[0] }
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :catalina"
|
|
|
|
app "MonoFocus.app"
|
|
|
|
# No zap stanza required
|
|
end
|