leap-motion: add livecheck (#96978)

This commit is contained in:
Markus Reiter 2020-12-27 12:48:16 +01:00 committed by GitHub
parent d4920007ae
commit cd962b793d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -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"