excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / steinberg-activation-manager.rb
bloba69f349253e94f9f78ba5e92d137e46c70fa3299
1 cask "steinberg-activation-manager" do
2   version "1.5.3.1212-be70dff8-4528-38e7-8963-c8d89449956e"
3   sha256 "cf7c4194df67577ecbaef59fc5b5c7bd91a4b2c8e8ef729633d75fd839b56015"
5   url "https://download.steinberg.net/static_content/runtime-components/steinberg-activation-manager/#{version}/Steinberg_Activation_Manager_Installer_mac.dmg"
6   name "Steinberg Activation Manager"
7   desc "Licenses manager for Steinberg Licensing"
8   homepage "https://o.steinberg.net/en/support/content_and_accessories/steinberg_activation_manager.html"
10   livecheck do
11     url "https://r.mb.steinberg.net/rc-sam-mac"
12     regex(%r{([^/]+)/Steinberg_Activation_Manager_Installer_mac\.dmg}i)
13     strategy :header_match
14   end
16   depends_on macos: ">= :mojave"
18   pkg "Steinberg Activation Manager.pkg"
20   uninstall quit:    [
21               "com.steinberg.SteinbergActivationManager",
22               "com.steinberg.SteinbergLicenseEngine",
23             ],
24             pkgutil: [
25               "com.steinberg.activationmanager",
26               "com.steinberg.licenseengine",
27               "com.steinberg.licenseengineaccess",
28               "com.steinberg.silkupdatehelper",
29             ],
30             delete:  "/Applications/Steinberg Activation Manager.app",
31             rmdir:   "/Library/Application Support/Steinberg/Activation Manager"
33   zap trash: [
34     "~/Library/Application Support/Steinberg/Activation Manager",
35     "~/Library/Caches/Steinberg Activation Manager",
36     "~/Library/Saved Application State/com.steinberg.SteinbergActivationManager.savedState",
37   ]
38 end