Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / a / adobe-dng-converter.rb
blob9917f2bf74ffa75e038c4467aa4094106215ff3e
1 cask "adobe-dng-converter" do
2   version "17.1"
3   sha256 "8d6ca5b383831f5f0754066bc61b26ceebabd0ca3a09f361ee99c2744c47eb24"
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