-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
google-chrome@*: migrate from
homebrew/cask-versions
Signed-off-by: Michael Cho <[email protected]>
- Loading branch information
Showing
3 changed files
with
162 additions
and
0 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,54 @@ | ||
cask "google-chrome@beta" do | ||
version "125.0.6422.14" | ||
sha256 :no_check | ||
|
||
url "https://dl.google.com/chrome/mac/universal/beta/googlechromebeta.dmg" | ||
name "Google Chrome Beta" | ||
desc "Web browser" | ||
homepage "https://www.google.com/chrome/beta/" | ||
|
||
livecheck do | ||
url "https://chromiumdash.appspot.com/fetch_releases?channel=Beta&platform=Mac" | ||
regex(/"version":\s*"v?(\d+(?:\.\d+)+)"/i) | ||
end | ||
|
||
auto_updates true | ||
depends_on macos: ">= :catalina" | ||
|
||
app "Google Chrome Beta.app" | ||
|
||
zap launchctl: [ | ||
"com.google.keystone.agent", | ||
"com.google.keystone.daemon", | ||
], | ||
trash: [ | ||
"/Library/Caches/com.google.SoftwareUpdate.*", | ||
"/Library/Google/Google Chrome Brand.plist", | ||
"/Library/Google/GoogleSoftwareUpdate", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.chrome.app.*.sfl*", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.chrome.sfl*", | ||
"~/Library/Application Support/Google/Chrome Beta", | ||
"~/Library/Caches/com.google.Chrome", | ||
"~/Library/Caches/com.google.Chrome.helper.*", | ||
"~/Library/Caches/com.google.Keystone", | ||
"~/Library/Caches/com.google.Keystone.Agent", | ||
"~/Library/Caches/com.google.SoftwareUpdate", | ||
"~/Library/Caches/Google/Chrome Beta", | ||
"~/Library/Google/Google Chrome Brand.plist", | ||
"~/Library/Google/GoogleSoftwareUpdate", | ||
"~/Library/LaunchAgents/com.google.keystone.agent.plist", | ||
"~/Library/LaunchAgents/com.google.keystone.xpcservice.plist", | ||
"~/Library/Logs/GoogleSoftwareUpdateAgent.log", | ||
"~/Library/Preferences/com.google.Chrome.plist", | ||
"~/Library/Preferences/com.google.Keystone.Agent.plist", | ||
"~/Library/Saved Application State/com.google.Chrome.app.*.savedState", | ||
"~/Library/Saved Application State/com.google.Chrome.savedState", | ||
"~/Library/WebKit/com.google.Chrome", | ||
], | ||
rmdir: [ | ||
"/Library/Google", | ||
"~/Library/Application Support/Google", | ||
"~/Library/Caches/Google", | ||
"~/Library/Google", | ||
] | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
cask "google-chrome@canary" do | ||
version :latest | ||
sha256 :no_check | ||
|
||
url "https://dl.google.com/chrome/mac/universal/canary/googlechromecanary.dmg" | ||
name "Google Chrome Canary" | ||
desc "Web browser" | ||
homepage "https://www.google.com/chrome/canary/" | ||
|
||
# Canary releases are frequent, so we use version :latest. | ||
# livecheck do | ||
# url "https://chromiumdash.appspot.com/fetch_releases?channel=Canary&platform=Mac" | ||
# regex(/"version":\s*"v?(\d+(?:\.\d+)+)"/i) | ||
# end | ||
|
||
depends_on macos: ">= :catalina" | ||
|
||
app "Google Chrome Canary.app" | ||
|
||
zap launchctl: [ | ||
"com.google.keystone.agent", | ||
"com.google.keystone.daemon", | ||
], | ||
trash: [ | ||
"/Library/Caches/com.google.SoftwareUpdate.*", | ||
"/Library/Google/Google Chrome Brand.plist", | ||
"/Library/Google/GoogleSoftwareUpdate", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.chrome.app.*.sfl*", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.chrome.sfl*", | ||
"~/Library/Application Support/Google/Chrome Canary", | ||
"~/Library/Caches/com.google.Chrome", | ||
"~/Library/Caches/com.google.Chrome.helper.*", | ||
"~/Library/Caches/com.google.Keystone", | ||
"~/Library/Caches/com.google.Keystone.Agent", | ||
"~/Library/Caches/com.google.SoftwareUpdate", | ||
"~/Library/Caches/Google/Chrome Canary", | ||
"~/Library/Google/Google Chrome Brand.plist", | ||
"~/Library/Google/GoogleSoftwareUpdate", | ||
"~/Library/LaunchAgents/com.google.keystone.agent.plist", | ||
"~/Library/LaunchAgents/com.google.keystone.xpcservice.plist", | ||
"~/Library/Logs/GoogleSoftwareUpdateAgent.log", | ||
"~/Library/Preferences/com.google.Chrome.plist", | ||
"~/Library/Preferences/com.google.Keystone.Agent.plist", | ||
"~/Library/Saved Application State/com.google.Chrome.app.*.savedState", | ||
"~/Library/Saved Application State/com.google.Chrome.savedState", | ||
"~/Library/WebKit/com.google.Chrome", | ||
], | ||
rmdir: [ | ||
"/Library/Google", | ||
"~/Library/Application Support/Google", | ||
"~/Library/Caches/Google", | ||
"~/Library/Google", | ||
] | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
cask "google-chrome@dev" do | ||
version "126.0.6439.0" | ||
sha256 :no_check | ||
|
||
url "https://dl.google.com/chrome/mac/universal/dev/googlechromedev.dmg" | ||
name "Google Chrome Dev" | ||
desc "Web browser" | ||
homepage "https://www.google.com/chrome/dev/" | ||
|
||
livecheck do | ||
url "https://chromiumdash.appspot.com/fetch_releases?channel=Dev&platform=Mac" | ||
regex(/"version":\s*"v?(\d+(?:\.\d+)+)"/i) | ||
end | ||
|
||
auto_updates true | ||
depends_on macos: ">= :catalina" | ||
|
||
app "Google Chrome Dev.app" | ||
|
||
zap launchctl: [ | ||
"com.google.keystone.agent", | ||
"com.google.keystone.daemon", | ||
], | ||
trash: [ | ||
"/Library/Caches/com.google.SoftwareUpdate.*", | ||
"/Library/Google/Google Chrome Brand.plist", | ||
"/Library/Google/GoogleSoftwareUpdate", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.chrome.app.*.sfl*", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.chrome.sfl*", | ||
"~/Library/Application Support/Google/Chrome Dev", | ||
"~/Library/Caches/com.google.Chrome", | ||
"~/Library/Caches/com.google.Chrome.helper.*", | ||
"~/Library/Caches/com.google.Keystone", | ||
"~/Library/Caches/com.google.Keystone.Agent", | ||
"~/Library/Caches/com.google.SoftwareUpdate", | ||
"~/Library/Caches/Google/Chrome Dev", | ||
"~/Library/Google/Google Chrome Brand.plist", | ||
"~/Library/Google/GoogleSoftwareUpdate", | ||
"~/Library/LaunchAgents/com.google.keystone.agent.plist", | ||
"~/Library/LaunchAgents/com.google.keystone.xpcservice.plist", | ||
"~/Library/Logs/GoogleSoftwareUpdateAgent.log", | ||
"~/Library/Preferences/com.google.Chrome.plist", | ||
"~/Library/Preferences/com.google.Keystone.Agent.plist", | ||
"~/Library/Saved Application State/com.google.Chrome.app.*.savedState", | ||
"~/Library/Saved Application State/com.google.Chrome.savedState", | ||
"~/Library/WebKit/com.google.Chrome", | ||
], | ||
rmdir: [ | ||
"/Library/Google", | ||
"~/Library/Application Support/Google", | ||
"~/Library/Caches/Google", | ||
"~/Library/Google", | ||
] | ||
end |