Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / n / notesnook.rb
blob8fe89901d4e5b7407fe1566dde8d35020b2d2d2a
1 cask "notesnook" do
2   arch arm: "arm64", intel: "x64"
4   version "3.0.23"
5   sha256 arm:   "276654c4730159c0e9f4bf223edadab73eca32790e9ab1d9e4d978d8d112ffad",
6          intel: "fd0f8e3decd56add350784468710296a8eca24ab061bdf8f371393e450042a36"
8   url "https://github.com/streetwriters/notesnook/releases/download/v#{version}/notesnook_mac_#{arch}.dmg",
9       verified: "github.com/streetwriters/notesnook/"
10   name "Notesnook"
11   desc "Privacy-focused note taking app"
12   homepage "https://notesnook.com/"
14   livecheck do
15     url "https://notesnook.com/api/v1/releases/darwin/latest/latest-mac.yml"
16     strategy :electron_builder
17   end
19   auto_updates true
20   depends_on macos: ">= :sierra"
22   app "Notesnook.app"
24   zap trash: [
25     "~/Library/Application Support/Notesnook",
26     "~/Library/Logs/Notesnook",
27     "~/Library/Preferences/com.streetwriters.notesnook.plist",
28   ]
29 end