homebrew-cask/Casks/m/muyu.rb

33 lines
1.1 KiB
Ruby

cask "muyu" do
version "1.5.1,43"
sha256 "595ced25efae4a9b65f35897d3372d4f4814bfabb9f1229087c9080cd165f560"
url "https://breakit.thriller.fun/packages/appcast/Muyu.v#{version.csv.first}_#{version.csv.second}.zip"
name "Muyu"
desc "Combination of work efficiency and health"
homepage "https://breakit.thriller.fun/"
livecheck do
url "https://breakit.thriller.fun/packages/appcast/appcast.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :ventura"
app "Muyu.app"
uninstall quit: "fun.thriller.BreakIt"
zap trash: [
"~/Library/Application Scripts/fun.thriller.BreakIt",
"~/Library/Application Scripts/fun.thriller.BreakItLoginItem",
"~/Library/Caches/fun.thriller.BreakIt",
"~/Library/Containers/fun.thriller.BreakIt",
"~/Library/Containers/fun.thriller.BreakIt/Data/Library/Saved Application State/fun.thriller.BreakIt.savedState",
"~/Library/Containers/fun.thriller.BreakItLoginItem",
"~/Library/Containers/org.sparkle-project.Downloader/Data/Library/Caches/fun.thriller.BreakIt",
"~/Library/Preferences/fun.thriller.BreakIt.plist",
]
end