Files
homebrew-cask/Casks/m/monofocus.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

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