mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
41 lines
1.4 KiB
Ruby
41 lines
1.4 KiB
Ruby
cask "fxfactory" do
|
|
version "8.0.13,7760"
|
|
sha256 "fd38528c6dcd4a8a06bbbaade18e132bb49a8d3d3ef1380fb2aaf7011cb3c49e"
|
|
|
|
url "https://fxfactory.s3.amazonaws.com/noiseindustries/fxfactory/FxFactory-#{version.csv.first}-#{version.csv.second}.zip",
|
|
verified: "fxfactory.s3.amazonaws.com/noiseindustries/"
|
|
name "FxFactory"
|
|
desc "Browse, install and purchase effects and plugins from a huge catalogue"
|
|
homepage "https://fxfactory.com/"
|
|
|
|
livecheck do
|
|
url "https://fxfactory.com/download/"
|
|
regex(/FxFactory[._-]v?(\d+(?:\.\d+)+)[._-](\d+).zip/i)
|
|
strategy :page_match do |page, regex|
|
|
match = page.match(regex)
|
|
next if match.blank?
|
|
|
|
"#{match[1]},#{match[2]}"
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :monterey"
|
|
|
|
pkg "Install FxFactory #{version.csv.first}.pkg"
|
|
|
|
uninstall launchctl: "com.fxfactory.FxFactory.helper",
|
|
quit: "com.fxfactory.FxFactory",
|
|
pkgutil: "com.fxfactory.pkg",
|
|
delete: [
|
|
"/Library/Application Support/FxFactory",
|
|
"/Library/LaunchDaemons/com.fxfactory.FxFactory.helper.plist",
|
|
"/Library/PrivilegedHelperTools/com.fxfactory.FxFactory.helper",
|
|
]
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/com.fxfactory.FxFactoryService.pluginkit",
|
|
"~/Library/Preferences/com.fxfactory.FxFactory.plist",
|
|
"~/Movies/Motion Templates.localized",
|
|
]
|
|
end
|