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
This commit is contained in:
parent
e81e406bab
commit
f385c5d9ab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue