homebrew-cask/Casks/p/pomatez.rb

31 lines
925 B
Ruby

cask "pomatez" do
arch arm: "arm64", intel: "x64"
version "1.6.4"
sha256 arm: "3a32cc7db91a4b6a6e7790f77526df3410a7ab5dcdc26b0c54a1891d012c502a",
intel: "4d7f0d96fb7b29b43332781481969aeb1f26cb33445316795eca4384f5bfe052"
url "https://github.com/zidoro/pomatez/releases/download/v#{version}/Pomatez-v#{version}-mac-#{arch}.dmg",
verified: "github.com/zidoro/pomatez/"
name "Pomatez"
desc "Pomodoro timer"
homepage "https://zidoro.github.io/pomatez"
livecheck do
url :url
strategy :github_latest
end
app "Pomatez.app"
uninstall signal: ["KILL", "application.com.roldanjr.pomatez"]
zap trash: [
"~/Library/Application Support/CrashReporter/Pomatez_*.plist",
"~/Library/Application Support/pomatez",
"~/Library/Logs/pomatez",
"~/Library/Preferences/com.roldanjr.pomatez.plist",
"~/Library/Saved Application State/com.roldanjr.pomatez.savedState",
]
end