forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Cask: CleanMyMac X Chinese (Homebrew#117250)
* Add Cask: CleanMyMac X Chinese cask cleanmymac-ch is cleanmymac's Chinese special edition. And they conflict with each other. * Modified the homepage of cleanmymac-ch * Update and rename cleanmymac-ch.rb to cleanmymac-zh.rb * Update cleanmymac.rb * Update cleanmymac-zh.rb Co-authored-by: Miccal Matthews <[email protected]>
- Loading branch information
1 parent
51144b9
commit bccfa8b
Showing
2 changed files
with
83 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
cask "cleanmymac-zh" do | ||
version "4.10.0,41000.0.2112201815" | ||
sha256 "c2c63fe19526706cff20d42262c9f737bd424508b913deb5fd3a0d0536b0579c" | ||
|
||
url "https://dl.devmate.com/com.macpaw.zh.CleanMyMac#{version.major}/CleanMyMacXChinese.dmg", | ||
verified: "dl.devmate.com/" | ||
name "CleanMyMac X Chinese" | ||
desc "Tool to remove unnecessary files and folders from disk Chinese edition" | ||
homepage "https://www.mycleanmymac.com/" | ||
|
||
livecheck do | ||
url "https://updates.devmate.com/com.macpaw.zh.CleanMyMac#{version.major}.xml" | ||
strategy :sparkle | ||
end | ||
|
||
auto_updates true | ||
conflicts_with cask: "cleanmymac" | ||
|
||
app "CleanMyMac X.app" | ||
|
||
uninstall delete: [ | ||
"/Library/PrivilegedHelperTools/com.macpaw.zh.CleanMyMac#{version.major}.Agent", | ||
"/Library/LaunchDaemons/com.macpaw.zh.CleanMyMac#{version.major}.Agent.plist", | ||
], | ||
launchctl: [ | ||
"com.macpaw.zh.CleanMyMac#{version.major}.Agent", | ||
"com.macpaw.zh.CleanMyMac#{version.major}.HealthMonitor", | ||
"com.macpaw.zh.CleanMyMac#{version.major}.Menu", | ||
"com.macpaw.zh.CleanMyMac#{version.major}.Scheduler", | ||
"com.macpaw.zh.CleanMyMac#{version.major}.Updater", | ||
], | ||
login_item: "CleanMyMac #{version.major} Menu", | ||
quit: [ | ||
"com.macpaw.zh.CleanMyMac#{version.major}", | ||
"com.macpaw.zh.CleanMyMac#{version.major}.HealthMonitor", | ||
"com.macpaw.zh.CleanMyMac#{version.major}.Menu", | ||
] | ||
|
||
zap trash: [ | ||
"/Users/Shared/CleanMyMac-X Menu", | ||
"/Users/Shared/CleanMyMac-X", | ||
"~/Library/Application Scripts/com.macpaw.zh.CleanMyMac#{version.major}.CleanMyMacWidget", | ||
"~/Library/Application Support/CleanMyMac-X Menu", | ||
"~/Library/Application Support/CleanMyMac-X", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.macpaw.zh.CleanMyMac#{version.major}.scheduler.sfl*", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.macpaw.zh.CleanMyMac#{version.major}.sfl*", | ||
"~/Library/Caches/CleanMyMac #{version.major}", | ||
"~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.macpaw.zh.CleanMyMac#{version.major}.help*", | ||
"~/Library/Caches/com.macpaw.zh.CleanMyMac#{version.major}.HealthMonitor", | ||
"~/Library/Caches/com.macpaw.zh.CleanMyMac#{version.major}.KnowledgeBase", | ||
"~/Library/Caches/com.macpaw.zh.CleanMyMac#{version.major}.Menu", | ||
"~/Library/Caches/com.macpaw.zh.CleanMyMac#{version.major}.Scheduler", | ||
"~/Library/Caches/com.macpaw.zh.CleanMyMac#{version.major}.Updater", | ||
"~/Library/Caches/com.macpaw.zh.CleanMyMac#{version.major}", | ||
"~/Library/Containers/com.macpaw.zh.CleanMyMac#{version.major}.CleanMyMacWidget", | ||
"~/Library/Group Containers/*.com.macpaw.zh.CleanMyMac#{version.major}", | ||
"~/Library/HTTPStorages/com.macpaw.zh.CleanMyMac#{version.major}.binarycookies", | ||
"~/Library/HTTPStorages/com.macpaw.zh.CleanMyMac#{version.major}.Menu", | ||
"~/Library/HTTPStorages/com.macpaw.zh.CleanMyMac#{version.major}.Updater", | ||
"~/Library/HTTPStorages/com.macpaw.zh.CleanMyMac#{version.major}", | ||
"~/Library/LaunchAgents/com.macpaw.zh.CleanMyMac#{version.major}.HealthMonitor.plist", | ||
"~/Library/LaunchAgents/com.macpaw.zh.CleanMyMac#{version.major}.Updater.plist", | ||
"~/Library/Logs/CleanMyMac X Menu", | ||
"~/Library/Logs/com.macpaw.zh.CleanMyMac#{version.major}", | ||
"~/Library/Preferences/*.com.macpaw.zh.CleanMyMac#{version.major}.plist", | ||
"~/Library/Preferences/com.macpaw.zh.CleanMyMac-#{version.major}-Helper.plist", | ||
"~/Library/Preferences/com.macpaw.zh.CleanMyMac#{version.major}.HealthMonitor.plist", | ||
"~/Library/Preferences/com.macpaw.zh.CleanMyMac#{version.major}.KnowledgeBase.plist", | ||
"~/Library/Preferences/com.macpaw.zh.CleanMyMac#{version.major}.Menu.plist", | ||
"~/Library/Preferences/com.macpaw.zh.CleanMyMac#{version.major}.plist", | ||
"~/Library/Preferences/com.macpaw.zh.CleanMyMac#{version.major}.Scheduler.plist", | ||
"~/Library/Saved Application State/com.macpaw.zh.CleanMyMac#{version.major}.savedState", | ||
"~/Library/WebKit/com.macpaw.zh.CleanMyMac#{version.major}", | ||
"~/Pictures/Photos Library.photoslibrary/private/com.macpaw.zh.CleanMyMac#{version.major}", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters