mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
31 lines
944 B
Ruby
31 lines
944 B
Ruby
cask "lantern" do
|
|
version "7.6.15"
|
|
sha256 :no_check
|
|
|
|
url "https://s3.amazonaws.com/lantern/lantern-installer.dmg",
|
|
verified: "s3.amazonaws.com/lantern/"
|
|
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
|
|
end
|
|
|
|
app "Lantern.app"
|
|
|
|
uninstall quit: "com.getlantern.lantern",
|
|
launchctl: "org.getlantern"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Lantern",
|
|
"~/Library/Logs/Lantern",
|
|
]
|
|
end
|