mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
vitalsource-bookshelf: Add livecheck
the livecheck URL is Cloudflare-protected needs :user_agent => :browser
This commit is contained in:
@@ -9,7 +9,8 @@ cask "vitalsource-bookshelf" do
|
||||
homepage "https://www.vitalsource.com/bookshelf-features"
|
||||
|
||||
livecheck do
|
||||
skip "No version information available"
|
||||
url "https://support.vitalsource.com/hc/en-gb/p/download"
|
||||
regex(/href=["']?[^'" >]*VitalSource[-_.]Bookshelf[-_.](\d+(?:\.\d+)+)\.dmg/i)
|
||||
end
|
||||
|
||||
depends_on macos: ">= :mojave"
|
||||
|
||||
Reference in New Issue
Block a user