Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

various browsers: migrate from homebrew/cask-versions #172349

Merged
merged 4 commits into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ bitwarden
bloop
boltai
brave-browser
brave-browser@beta
brave-browser@dev
brave-browser@nightly
brickstore
bruno
burp-suite
Expand Down Expand Up @@ -164,6 +167,8 @@ glyphs
godspeed
goland
goodsync
google-chrome@beta
google-chrome@dev
google-cloud-sdk
gpxsee
gqrx
Expand Down Expand Up @@ -231,6 +236,8 @@ metasploit
microsoft-auto-update
microsoft-azure-storage-explorer
microsoft-edge
microsoft-edge@beta
microsoft-edge@dev
microsoft-excel
microsoft-office
microsoft-office-businesspro
Expand Down
30 changes: 30 additions & 0 deletions Casks/b/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
cask "brave-browser@beta" do
arch arm: "arm64", intel: "x64"
folder = on_arch_conditional arm: "beta-arm64", intel: "beta"

version "1.66.90.0"
sha256 arm: "134b72ff55a5e3c612fb9ea751195258d4e6322f9203bed1dee0943cb916aeaa",
intel: "035bd5a15fcfbfd24e94200126d355844ad1fdff1333c3677dc487fba377d644"

url "https://updates-cdn.bravesoftware.com/sparkle/Brave-Browser/#{folder}/#{version.major_minor_patch.sub(".", "")}/Brave-Browser-Beta-#{arch}.dmg",
verified: "updates-cdn.bravesoftware.com/sparkle/Brave-Browser/"
name "Brave Beta"
desc "Web browser focusing on privacy"
homepage "https://brave.com/download-beta/"

livecheck do
url "https://updates.bravesoftware.com/sparkle/Brave-Browser/#{folder}/appcast.xml"
strategy :sparkle, &:short_version
end

auto_updates true
depends_on macos: ">= :catalina"

app "Brave Browser Beta.app"

zap trash: [
"~/Library/Application Support/brave",
"~/Library/Preferences/com.electron.brave.plist",
"~/Library/Saved Application State/com.electron.brave.savedState",
]
end
30 changes: 30 additions & 0 deletions Casks/b/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
cask "brave-browser@dev" do
arch arm: "arm64", intel: "x64"
folder = on_arch_conditional arm: "dev-arm64", intel: "dev"

version "1.61.87.0"
sha256 arm: "0416c004411443dc66c7330c9181b5bfbb31dcc9f14a6e79efab2b02aa07bc35",
intel: "bd17479a2b65e693f979c58038d82657cbf63298ea3162f5fa714ac8e0580480"

url "https://updates-cdn.bravesoftware.com/sparkle/Brave-Browser/#{folder}/#{version.major_minor_patch.sub(".", "")}/Brave-Browser-Dev-#{arch}.dmg",
verified: "updates-cdn.bravesoftware.com/sparkle/Brave-Browser/"
name "Brave Dev"
desc "Web browser focusing on privacy"
homepage "https://brave.com/download-dev/"

livecheck do
url "https://updates.bravesoftware.com/sparkle/Brave-Browser/#{folder}/appcast.xml"
strategy :sparkle, &:short_version
end

auto_updates true
depends_on macos: ">= :catalina"

app "Brave Browser Dev.app"

zap trash: [
"~/Library/Application Support/brave",
"~/Library/Preferences/com.electron.brave.plist",
"~/Library/Saved Application State/com.electron.brave.savedState",
]
end
30 changes: 30 additions & 0 deletions Casks/b/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
cask "brave-browser@nightly" do
arch arm: "arm64", intel: "x64"
folder = on_arch_conditional arm: "nightly-arm64", intel: "nightly"

version "1.67.42.0"
sha256 arm: "dd5b01c106b393ea94ffb3a59ab2151c2baa68d6abe14bf12ace39327bd9a935",
intel: "bc6dfbeefe757301ac7052a953402e27ffc62add6cd78d47cae7346d08cb5d68"

url "https://updates-cdn.bravesoftware.com/sparkle/Brave-Browser/#{folder}/#{version.major_minor_patch.sub(".", "")}/Brave-Browser-Nightly-#{arch}.dmg",
verified: "updates-cdn.bravesoftware.com/sparkle/Brave-Browser/"
name "Brave Nightly"
desc "Web browser focusing on privacy"
homepage "https://brave.com/download-nightly/"

livecheck do
url "https://updates.bravesoftware.com/sparkle/Brave-Browser/#{folder}/appcast.xml"
strategy :sparkle, &:short_version
end

auto_updates true
depends_on macos: ">= :catalina"

app "Brave Browser Nightly.app"

zap trash: [
"~/Library/Application Support/brave",
"~/Library/Preferences/com.electron.brave.plist",
"~/Library/Saved Application State/com.electron.brave.savedState",
]
end
54 changes: 54 additions & 0 deletions Casks/g/[email protected]
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
54 changes: 54 additions & 0 deletions Casks/g/[email protected]
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
54 changes: 54 additions & 0 deletions Casks/g/[email protected]
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
51 changes: 51 additions & 0 deletions Casks/m/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
cask "microsoft-edge@beta" do
linkid = on_arch_conditional arm: "2099618", intel: "2069439"

on_arm do
version "124.0.2478.67,9dd7d673-e9a5-4fc7-82de-2a2e38333d35"
sha256 "df8b825f3b4adcbaaaf7e3745f9f3235018c4eac8bf329916e88700f5ffd5dcf"
end
on_intel do
version "124.0.2478.67,fa2b3d5b-6fed-4473-8bce-34f5b1cd5688"
sha256 "a2279f46cde1ed36f3c4128c41e2843a9bb0258748ede7ad8b82fd8da4e14fc6"
end

url "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/#{version.csv.second}/MicrosoftEdgeBeta-#{version.csv.first}.pkg"
name "Microsoft Edge Beta"
desc "Multi-platform web browser"
homepage "https://www.microsoft.com/en-us/edge/download/insider?form="

livecheck do
url "https://go.microsoft.com/fwlink/?linkid=#{linkid}"
regex(%r{/([^/]+)/MicrosoftEdgeBeta[._-]v?(\d+(?:\.\d+)+)\.pkg}i)
strategy :header_match do |headers, regex|
headers["location"].scan(regex).map { |match| "#{match[1]},#{match[0]}" }
end
end

auto_updates true

pkg "MicrosoftEdgeBeta-#{version.csv.first}.pkg",
choices: [
{
"choiceIdentifier" => "com.microsoft.package.Microsoft_AutoUpdate.app", # Office16_all_autoupdate.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
]

uninstall launchctl: [
"com.microsoft.EdgeUpdater.update-internal.109.0.1518.89.system",
"com.microsoft.EdgeUpdater.update.system",
"com.microsoft.EdgeUpdater.wake.109.0.1518.89.system",
"com.microsoft.EdgeUpdater.wake.system",
],
pkgutil: "com.microsoft.edgemac.Beta"

zap trash: [
"~/Library/Application Support/Microsoft Edge Beta",
"~/Library/Caches/Microsoft Edge Beta",
"~/Library/Preferences/com.microsoft.edgemac.Beta.plist",
"~/Library/Saved Application State/com.microsoft.edgemac.Beta.savedState",
]
end
51 changes: 51 additions & 0 deletions Casks/m/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
cask "microsoft-edge@dev" do
linkid = on_arch_conditional arm: "2099619", intel: "2069340"

on_arm do
version "125.0.2535.6,dee68e88-1ed2-4f37-9d5c-b1ed6474272a"
sha256 "91c2d7e743279ead53ae7578e75cc1a82ea5865503ec066b5f5389858d69fe13"
end
on_intel do
version "125.0.2535.6,bb064c6f-3b92-4f58-ad52-58831e23bcd2"
sha256 "03d776505b33a5b2b669772008a363b4f08497e651bd30c4da73c7206f2bc30b"
end

url "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/#{version.csv.second}/MicrosoftEdgeDev-#{version.csv.first}.pkg"
name "Microsoft Edge Dev"
desc "Multi-platform web browser"
homepage "https://www.microsoft.com/en-us/edge/download/insider?form="

livecheck do
url "https://go.microsoft.com/fwlink/?linkid=#{linkid}"
regex(%r{/([^/]+)/MicrosoftEdgeDev[._-]v?(\d+(?:\.\d+)+)\.pkg}i)
strategy :header_match do |headers, regex|
headers["location"].scan(regex).map { |match| "#{match[1]},#{match[0]}" }
end
end

auto_updates true

pkg "MicrosoftEdgeDev-#{version.csv.first}.pkg",
choices: [
{
"choiceIdentifier" => "com.microsoft.package.Microsoft_AutoUpdate.app", # Office16_all_autoupdate.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
]

uninstall launchctl: [
"com.microsoft.EdgeUpdater.update-internal.109.0.1518.89.system",
"com.microsoft.EdgeUpdater.update.system",
"com.microsoft.EdgeUpdater.wake.109.0.1518.89.system",
"com.microsoft.EdgeUpdater.wake.system",
],
pkgutil: "com.microsoft.edgemac.Dev"

zap trash: [
"~/Library/Application Support/Microsoft Edge Dev",
"~/Library/Caches/Microsoft Edge Dev",
"~/Library/Preferences/com.microsoft.edgemac.Dev.plist",
"~/Library/Saved Application State/com.microsoft.edgemac.Dev.savedState",
]
end