From a37ee61b7dcf248deca93603d32b17af2633cac7 Mon Sep 17 00:00:00 2001 From: wuj13 Date: Mon, 25 Sep 2023 12:28:18 +0800 Subject: [PATCH 1/3] added: add muyu 1.4.0 --- Casks/m/muyu.rb | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Casks/m/muyu.rb diff --git a/Casks/m/muyu.rb b/Casks/m/muyu.rb new file mode 100644 index 0000000000..236773d5c7 --- /dev/null +++ b/Casks/m/muyu.rb @@ -0,0 +1,33 @@ +cask "muyu" do + version "1.4.2" + sha256 :no_check + + url "https://breakit.thriller.fun/packages/Muyu.v#{version}_29.zip" + name "Muyu" + desc "木鱼:集成番茄工作法与喝水提示功能" + homepage "https://breakit.thriller.fun/" + + livecheck do + url "https://breakit.thriller.fun/packages/appcast/v#{version}_29_appcast.xml" + strategy :sparkle, &:short_version + end + + auto_updates true + depends_on macos: ">= :monterey" + + 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.BreakItLoginItem", + "~/Library/Containers/org.sparkle-project.Downloader/Data/Library/Caches/fun.thriller.BreakIt", + "~/Library/Containers/fun.thriller.BreakIt/Data/Library/Saved Application State/fun.thriller.BreakIt.savedState", + "~/Library/Preferences/fun.thriller.BreakIt.plist", + ] + +end From 21e5350fd620b6406171755c737a58c24f6be1e7 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Mon, 25 Sep 2023 12:42:40 +0800 Subject: [PATCH 2/3] muyu: fix style issue --- Casks/m/muyu.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Casks/m/muyu.rb b/Casks/m/muyu.rb index 236773d5c7..17cbd5b158 100644 --- a/Casks/m/muyu.rb +++ b/Casks/m/muyu.rb @@ -29,5 +29,4 @@ cask "muyu" do "~/Library/Containers/fun.thriller.BreakIt/Data/Library/Saved Application State/fun.thriller.BreakIt.savedState", "~/Library/Preferences/fun.thriller.BreakIt.plist", ] - end From 603b21c1f68de8641e2d9754335a4655cb4d0b66 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Mon, 25 Sep 2023 14:29:44 +0800 Subject: [PATCH 3/3] Update muyu.rb --- Casks/m/muyu.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Casks/m/muyu.rb b/Casks/m/muyu.rb index 17cbd5b158..9b3708878f 100644 --- a/Casks/m/muyu.rb +++ b/Casks/m/muyu.rb @@ -1,15 +1,15 @@ cask "muyu" do - version "1.4.2" - sha256 :no_check + version "1.4.2,29" + sha256 "a066d707ffdff384a687268607967b3eba9f4ae4806d280a8bf9b15673e65b92" - url "https://breakit.thriller.fun/packages/Muyu.v#{version}_29.zip" + url "https://breakit.thriller.fun/packages/Muyu.v#{version.csv.first}_#{version.csv.second}.zip" name "Muyu" - desc "木鱼:集成番茄工作法与喝水提示功能" + desc "Combination of work efficiency and health" homepage "https://breakit.thriller.fun/" livecheck do - url "https://breakit.thriller.fun/packages/appcast/v#{version}_29_appcast.xml" - strategy :sparkle, &:short_version + url "https://breakit.thriller.fun/packages/appcast/appcast.xml" + strategy :sparkle end auto_updates true @@ -24,9 +24,9 @@ cask "muyu" do "~/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/Containers/fun.thriller.BreakIt/Data/Library/Saved Application State/fun.thriller.BreakIt.savedState", "~/Library/Preferences/fun.thriller.BreakIt.plist", ] end