From 71122ef26b0401f19bd1c14fa39b8657db33151b Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Sun, 19 Nov 2023 17:57:13 -0500 Subject: [PATCH] lantern: update livecheck --- Casks/l/lantern.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Casks/l/lantern.rb b/Casks/l/lantern.rb index 7754e52125..a2fe61c018 100644 --- a/Casks/l/lantern.rb +++ b/Casks/l/lantern.rb @@ -8,9 +8,14 @@ cask "lantern" do 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/releases" - strategy :github_latest + url "https://github.com/getlantern/lantern" + strategy :github_releases end app "Lantern.app"