homebrew-cask/Casks/s/softube-central.rb

43 lines
1.4 KiB
Ruby

cask "softube-central" do
version "1.10.22"
sha256 "f0320ecf030af4798aaae58adcd652684cddd21719f65d6b7d0c8dee0456febc"
url "https://softubestorage.b-cdn.net/softubecentral/Softube%20Central-#{version}-universal.pkg",
verified: "softubestorage.b-cdn.net/"
name "Softube Central"
desc "Installer for installation and license activation of Softube products"
homepage "https://www.softube.com/softube-central/"
livecheck do
url "https://www.softube.com/installers"
regex(/Softube%20Central[._-]v?(\d+(?:\.\d+)+)[._-]universal\.pkg/i)
end
auto_updates true
depends_on cask: "ilok-license-manager"
pkg "Softube Central-#{version}-universal.pkg"
uninstall quit: [
"com.softube.Console1OSD_Release",
"org.softube.com.softubecentral",
],
pkgutil: [
"com.paceap.pkg.eden.activationexperience",
"com.paceap.pkg.eden.iLokLicenseManager",
"com.paceap.pkg.eden.licensed",
"com.softube.installerdaemon.helper",
"org.softube.com.softubecentral",
],
launchctl: [
"com.paceap.eden.licensed",
"com.paceap.eden.licensed.agent",
]
zap trash: [
"/Library/Application Support/Softube",
"~/Library/Application Support/Softube",
"~/Library/Application Support/softubecentral",
]
end