Skip to content

Commit

Permalink
Merge pull request #200078 from Homebrew/bump-lantern-8.0.0
Browse files Browse the repository at this point in the history
lantern 8.0.0
  • Loading branch information
chenrui333 authored Jan 30, 2025
2 parents b2e164f + ededda2 commit 7cbe1d2
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions Casks/l/lantern.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
cask "lantern" do
version "7.9.5"
sha256 :no_check
version "8.0.0"
sha256 "5ad26312c7b54438675b9a5bcdfcab49213bee6744476a03f0c4fb1e367a75b5"

url "https://lantern.s3.amazonaws.com/lantern-installer.dmg",
verified: "lantern.s3.amazonaws.com/"
url "https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-#{version}.dmg",
verified: "github.com/getlantern/lantern-binaries/"
name "Lantern"
desc "Open Internet For All"
homepage "https://lantern.io/"

# The first-party download page (https://lantern.io/download?os=mac) only
# links to an unversioned file, with no version information on the page. We
# check GitHub releases as a best guess of when a new version is released.
# Upstream has not marked recent releases as "latest", so we have to check
# multiple releases until upstream reliably marks releases as "latest" again.
livecheck do
url "https://github.com/getlantern/lantern"
strategy :github_releases
url "https://github.com/getlantern/lantern-binaries"
regex(/href=.*?lantern[._-]installer[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
strategy :page_match
end

app "Lantern.app"
Expand All @@ -29,8 +25,4 @@
"~/Library/Application Support/Lantern",
"~/Library/Logs/Lantern",
]

caveats do
requires_rosetta
end
end

0 comments on commit 7cbe1d2

Please sign in to comment.