-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
i1profiler.rb
46 lines (40 loc) · 1.48 KB
/
i1profiler.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
44
45
46
cask "i1profiler" do
version "3.8.4.18193"
sha256 "055c9aba8afc431cdbbd3ce0dec1cf768e079f9453b0b9d67143641f9135c691"
url "https://downloads.xrite.com/downloads/software/i1Profiler/#{version.major_minor_patch}/Mac/i1Profiler.zip"
name "i1Profiler"
name "Eye-One Profiler"
name "i1Publish"
desc "Automation and creative controls for photographers and designers"
homepage "https://www.xrite.com/service-support/product-support/formulation-and-qc-software/i1profiler"
livecheck do
url "https://downloads.xrite.com/downloads/autoupdate/i1profiler_mac_appcast.xml"
strategy :sparkle
end
pkg "i1Profiler.pkg"
uninstall launchctl: [
"com.aladdin.aksusbd",
"com.aladdin.hasplmd",
],
pkgutil: [
"com.xrite.hasp.installer.*",
"com.xrite.i1profiler.*",
"com.xrite.xritedeviceservices.*",
],
delete: [
"/Applications/i1Profiler/i1Profiler.app",
"/Library/Application Support/X-Rite",
],
rmdir: "/Applications/i1Profiler"
zap trash: [
"~/Library/Caches/com.x-rite.i1Profiler",
"~/Library/HTTPStorages/com.x-rite.i1Profiler",
"~/Library/HTTPStorages/com.x-rite.i1Profiler.binarycookies",
"~/Library/Preferences/com.x-rite.i1Profiler.plist",
"~/Library/Saved Application State/com.x-rite.i1Profiler.savedState",
"~/Library/WebKit/com.x-rite.i1Profiler",
]
caveats do
reboot
end
end