From cd962b793d03bba62231d1d4b0d0102657250d39 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 27 Dec 2020 12:48:16 +0100 Subject: [PATCH] leap-motion: add livecheck (#96978) --- Casks/leap-motion.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Casks/leap-motion.rb b/Casks/leap-motion.rb index 4ec9767bf0b..1dce21205ab 100644 --- a/Casks/leap-motion.rb +++ b/Casks/leap-motion.rb @@ -1,12 +1,16 @@ cask "leap-motion" do - version "2.3.1,4184" - sha256 "77e15a08f122f9fc88a0a3f032f0421f9993b8b7c24f5252b478db955d777cd6" + version "2.3.1" + sha256 :no_check - url "https://warehouse.leapmotion.com/apps/#{version.after_comma}/download" - appcast "https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://warehouse.leapmotion.com/apps/4184/download" + url "https://warehouse.leapmotion.com/apps/4184/download" name "Leap Motion" homepage "https://www.leapmotion.com/setup" + livecheck do + url "https://warehouse.leapmotion.com/apps/4184/download" + strategy :header_match + end + pkg "Leap Motion.pkg" uninstall script: "/Applications/Leap Motion.app/Contents/MacOS/uninstall"