diff --git a/Casks/s/samsung-magician.rb b/Casks/s/samsung-magician.rb index b0fbbeaaded..b251b222c8e 100644 --- a/Casks/s/samsung-magician.rb +++ b/Casks/s/samsung-magician.rb @@ -9,10 +9,7 @@ livecheck do url :homepage - regex(/Samsung_Magician_Installer_Official_?(\d+(?:\.\d+)+)\.pkg/i) - strategy :page_match do |page, regex| - page.scan(regex).map { |match| (match[0]).to_s } - end + regex(/href=.*?Samsung_Magician_Installer_Official[._-]v?(\d+(?:\.\d+)+)\.pkg/i) end auto_updates true