From f385c5d9ab9d2235b1a404c45b2f9c00e3a6f13d Mon Sep 17 00:00:00 2001 From: neutric <5984479+neutric@users.noreply.github.com> Date: Sat, 25 Dec 2021 01:14:36 +0100 Subject: [PATCH] Update fabfilter-pro-ds from 1.16 to 1.18 (#116433) * Update fabfilter-pro-ds from 1.16 to 1.18 * fabfilter-pro-ds: tweak livecheck regex --- Casks/fabfilter-pro-ds.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Casks/fabfilter-pro-ds.rb b/Casks/fabfilter-pro-ds.rb index 624ac94dd79..ece2ef2b773 100644 --- a/Casks/fabfilter-pro-ds.rb +++ b/Casks/fabfilter-pro-ds.rb @@ -1,6 +1,6 @@ cask "fabfilter-pro-ds" do - version "1.16" - sha256 "d3810ccca698a8e9da44a72d69cc2035d43f54491b9b4ba4aabe358aae4eaded" + version "1.18" + sha256 "f34f7aa6559ac48300b6609cb95f3fbfae9d16fedb4ad226ccbdbd9075ecede7" url "https://download.fabfilter.com/ffprods#{version.no_dots}.dmg" name "FabFilter Pro-DS" @@ -10,7 +10,7 @@ cask "fabfilter-pro-ds" do livecheck do url "https://www.fabfilter.com/download" strategy :page_match do |page| - match = page.match(%r{href=.*?/ffprods(\d)(\d\d)\.dmg}i) + match = page.match(/ffprods(\d)(\d+)\.dmg/i) next if match.blank? "#{match[1]}.#{match[2]}" @@ -21,7 +21,5 @@ cask "fabfilter-pro-ds" do pkg "FabFilter Pro-DS #{version} Installer.pkg" - uninstall pkgutil: [ - "com.fabfilter.Pro-DS.#{version.major}", - ] + uninstall pkgutil: "com.fabfilter.Pro-DS.#{version.major}" end