Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / n / ninja-download-manager-ndm.rb
blobe8734991137787606f95cc5e6945bd5b78882f4b
1 cask "ninja-download-manager-ndm" do
2   version "46"
3   sha256 "d1f377c48c51b4517cfc8e5524c3b353ce6fba81a63ac2c6ae4d2820d67bb0be"
5   url "https://ninjadownloadmanager.com/downloads/ndm_#{version}.pkg"
6   name "Ninja Download Manager"
7   desc "File download organiser and accelerator"
8   homepage "https://ninjadownloadmanager.com/"
10   livecheck do
11     url "https://ninjadownloadmanager.com/downloads/?os=osx"
12     strategy :header_match
13   end
15   pkg "ndm_#{version}.pkg"
17   uninstall pkgutil: "com.knockoutsoft.pkg.ndm"
19   zap trash: [
20     "~/Library/Caches/com.knockoutsoft.ndm",
21     "~/Library/ndm",
22     "~/Library/Saved Application State/com.knockoutsoft.ndm.savedState",
23   ]
24 end