excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / adobe-dng-converter.rb
blobda79ef6c09364231b3b095b8f3056f80103171a9
1 cask "adobe-dng-converter" do
2   version "17.0"
3   sha256 "2b4af4ed1e62385ff39abc8069f632a8c9aad8fde81bd1ddfae02713c4de3c4b"
5   url "https://download.adobe.com/pub/adobe/dng/mac/DNGConverter_#{version.dots_to_underscores}.dmg"
6   name "Adobe DNG Converter"
7   desc "DNG file converter"
8   homepage "https://helpx.adobe.com/camera-raw/using/adobe-dng-converter.html"
10   livecheck do
11     url "https://helpx.adobe.com/photoshop/kb/uptodate.html"
12     regex(%r{Adobe\s+DNG\s+Converter\s+(?:is\s+)?(?:<[^>]+?>)?v?(\d+(?:\.\d+)+)(?:</[^>]+?>)?}im)
13   end
15   depends_on macos: ">= :mojave"
17   pkg "DNGConverter_#{version.dots_to_underscores}.pkg"
19   uninstall quit:    "com.adobe.DNGConverter",
20             pkgutil: [
21               "com.adobe.CameraRawProfiles",
22               "com.adobe.DNGConverter",
23             ]
25   zap trash: [
26     "~/Library/Application Support/Adobe/CameraRaw/GPU/Adobe DNG Converter",
27     "~/Library/Application Support/Adobe/CameraRaw/Logs/DNG Converter Log*",
28     "~/Library/Saved Application State/com.adobe.DNGConverter.savedState",
29   ]
30 end