Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / n / niftyman.rb
blobb3c08df682be2a437a9ac7029dfc270a2ce87328
1 cask "niftyman" do
2   version "2.0.0"
3   sha256 "9ffdfc517fe48f521793a03fcda3912becb004b7652821452f25a3be173f6f55"
5   url "https://notion-menubar-updates.s3.amazonaws.com/Niftyman-#{version}.dmg",
6       verified: "notion-menubar-updates.s3.amazonaws.com/"
7   name "Niftyman"
8   desc "Access the Notion tool from the menu bar"
9   homepage "https://shadowfax.app/niftyman"
11   livecheck do
12     url "https://notion-menubar-updates.s3.amazonaws.com/latest-mac.yml"
13     strategy :electron_builder
14   end
16   depends_on macos: ">= :high_sierra"
18   app "Niftyman.app"
20   zap trash: [
21     "~/Library/Application Support/Niftyman",
22     "~/Library/Preferences/com.shadowfax.niftyman.plist",
23   ]
25   caveats do
26     requires_rosetta
27   end
28 end