vitalsource-bookshelf: Add livecheck

the livecheck URL is Cloudflare-protected
needs :user_agent => :browser
This commit is contained in:
mavenor
2024-02-27 02:44:19 +00:00
committed by Bevan Kay
parent 113cf84a2b
commit 081fed5041
+2 -1
View File
@@ -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"