-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
ilok-license-manager.rb
43 lines (37 loc) · 1.37 KB
/
ilok-license-manager.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
cask "ilok-license-manager" do
version "5.9.0"
sha256 :no_check
url "https://installers.ilok.com/iloklicensemanager/LicenseSupportInstallerMac.zip"
name "iLok License Manager"
desc "Software for iLok devices"
homepage "https://ilok.com/#!license-manager"
livecheck do
url "https://updates.ilok.com/iloklicensemanager/LicenseSupportInstallerMacAppcast.xml"
strategy :sparkle do |item|
item.short_version.split.first.to_s
end
end
depends_on macos: ">= :sierra"
pkg "License Support.pkg"
uninstall launchctl: [
"com.paceap.eden.licensed",
"com.paceap.eden.licensed.agent",
],
pkgutil: [
"com.paceap.pkg.eden.activationexperience",
"com.paceap.pkg.eden.iLokLicenseManager",
"com.paceap.pkg.eden.licensed",
],
delete: "/usr/local/bin/iloktool"
zap delete: [
"/Library/Preferences/com.paceap.eden.clientdb.*.sdb",
"/Library/Preferences/com.paceap.eden.floating.*.prefs",
],
trash: [
"~/Library/Caches/com.paceap.iLokLicenseManager",
"~/Library/HTTPStorages/com.paceap.eden.iLokLicenseManager",
"~/Library/Logs/Eden",
"~/Library/Preferences/com.paceap.iLokLicenseManager.plist",
"~/Library/Saved Application State/com.paceap.eden.iLokLicenseManager.savedState",
]
end