cask "heynote" do arch arm: "arm64", intel: "x64" version "2.3.3" sha256 arm: "a2c6af971daae823d4bb537dfc1a67d8a527d2cbf3d595f4ff21316b2f36aaf6", intel: "c31885c50642bd6d9d022c4b92b981c47ce70ef4da013e3b92d6f036ccfa41fb" url "https://github.com/heyman/heynote/releases/download/v#{version}/Heynote_#{version}_#{arch}.dmg", verified: "github.com/heyman/heynote/" name "Heynote" desc "Dedicated scratchpad for developers" homepage "https://heynote.com/" livecheck do url :url strategy :github_latest end auto_updates true depends_on macos: ">= :catalina" app "Heynote.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.heynote.app.sfl*", "~/Library/Application Support/Heynote", "~/Library/Caches/com.heynote.app", "~/Library/Caches/com.heynote.app.ShipIt", "~/Library/Caches/heynote-updater", "~/Library/HTTPStorages/com.heynote.app", "~/Library/Logs/Heynote", "~/Library/Preferences/ByHost/com.heynote.app.ShipIt.*.plist", "~/Library/Preferences/com.heynote.app.plist", "~/Library/Saved Application State/com.heynote.app.savedState", ] end