Skip to content

Commit

Permalink
Update eloston-chromium from 88.0.4324.150-1.1 to 88.0.4324.192-1.1 …
Browse files Browse the repository at this point in the history
…(arm64) (Homebrew#100403)

* Update eloston-chromium from 88.0.4324.150-1.1 to 88.0.4324.192-1.1 (arm64)

Refactor code to support the different release cadence for Intel and
arm64 architectures.

* Update eloston-chromium.rb

Co-authored-by: Miccal Matthews <[email protected]>
  • Loading branch information
frodera and miccal authored Mar 2, 2021
1 parent 75e010f commit e261865
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Casks/eloston-chromium.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
cask "eloston-chromium" do
if Hardware::CPU.intel?
arch = "x86-64"
version "88.0.4324.192-1.1"
sha256 "4cacb5ae40c37ef17cf01f4e063772ff7e83d829ae6132d8e6f2c98178bf10e9"

url "https://github.com/kramred/ungoogled-chromium-macos/releases/download/#{version}_x86-64/ungoogled-chromium_#{version}_x86-64-macos.dmg",
verified: "github.com/kramred/ungoogled-chromium-macos/"
else
version "88.0.4324.150-1.1"
sha256 "2f643e98dd9e8384a40a4c5d0d4bc4d4ef5ea7553fa05fd54a15537a647b846a"

url "https://github.com/kramred/ungoogled-chromium-macos/releases/download/#{version}_arm64/ungoogled-chromium_#{version}_arm64-macos.dmg",
verified: "github.com/kramred/ungoogled-chromium-macos/"
arch = "arm64"
version "88.0.4324.192-1.1"
sha256 "0fc60da4c8f67b87f0582cf4fe796f7ece55dad3a612ad0352a39c4deba5d365"
end

url "https://github.com/kramred/ungoogled-chromium-macos/releases/download/#{version}_#{arch}/ungoogled-chromium_#{version}_#{arch}-macos.dmg",
verified: "github.com/kramred/ungoogled-chromium-macos/"
appcast "https://github.com/kramred/ungoogled-chromium-macos/releases.atom"
name "Ungoogled Chromium"
homepage "https://ungoogled-software.github.io/ungoogled-chromium-binaries/"
Expand All @@ -25,9 +23,9 @@
app "Chromium.app"

zap trash: [
"~/Library/Preferences/org.chromium.Chromium.plist",
"~/Library/Caches/Chromium",
"~/Library/Application Support/Chromium",
"~/Library/Caches/Chromium",
"~/Library/Preferences/org.chromium.Chromium.plist",
"~/Library/Saved Application State/org.chromium.Chromium.savedState",
]
end

0 comments on commit e261865

Please sign in to comment.