From dad0105528134fe8fedaf3291cc2ef320efae6d0 Mon Sep 17 00:00:00 2001 From: ZhengJin Fang Date: Sun, 4 Jul 2021 11:56:28 +0800 Subject: [PATCH] Update sunloginclient from 11.0.0.34335 to 11.0.1.36834 (#108017) * Update sunloginclient.rb * add livecheck * Update sunloginclient.rb * Update Casks/sunloginclient.rb Co-authored-by: Bevan Kay Co-authored-by: Bevan Kay --- Casks/sunloginclient.rb | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Casks/sunloginclient.rb b/Casks/sunloginclient.rb index b9cb1e948d73..4bdd291c9eaf 100644 --- a/Casks/sunloginclient.rb +++ b/Casks/sunloginclient.rb @@ -1,13 +1,19 @@ cask "sunloginclient" do - version "11.0.0.34335" - sha256 "1fb36df640cc789bb89be8877c7add77af3ce565197740d56f39c6057229a9d7" + version "11.0.1.36834" + sha256 "bd6acd504e24994aec7483defb745ce77ed6c8e963df99da3ff8c2052b12ca70" - url "https://dl-cdn.oray.com/sunlogin/mac/SunloginClient_#{version}.dmg" - name "Sunlogin X" - name "向日葵 X" + url "https://dl-cdn.oray.com/sunlogin/mac/SunloginClient-#{version}.dmg" + name "Sunlogin 11" + name "向日葵 11" desc "Remote desktop control and monitoring tool" homepage "https://sunlogin.oray.com/" + livecheck do + url "https://sunlogin.oray.com/zh_CN/download/download?id=89" + strategy :header_match + regex(/SunloginClient[._-](\d+(?:\.\d+)*)\.dmg/i) + end + pkg "SunloginClient.pkg" uninstall quit: "com.oray.sunlogin.macclient",