From 5d13267d7d6142f713d1d8af41ede8ed0183c9b7 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 26 Dec 2020 16:59:48 +0100 Subject: [PATCH] sketchbook: add livecheck (#96929) --- Casks/sketchbook.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Casks/sketchbook.rb b/Casks/sketchbook.rb index f3699263ebf..88925d31ad4 100644 --- a/Casks/sketchbook.rb +++ b/Casks/sketchbook.rb @@ -3,11 +3,15 @@ cask "sketchbook" do sha256 "a96042dc95483cd6fac849a9f60a22980204ee4ee0a26b0804b0aa6ab23b842a" url "https://update.sketchbook.com/mac/SketchBook_v#{version}_mac.dmg" - appcast "https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://update.sketchbook.com/mac/latest" name "Autodesk Sketchbook" desc "Draw, paint, & sketch application" homepage "https://www.sketchbook.com/" + livecheck do + url "https://update.sketchbook.com/mac/latest" + strategy :header_match + end + pkg "SketchBook_v#{version}_mac.pkg" uninstall quit: "com.autodesk.SketchBook",