cask "heynote" do arch arm: "arm64", intel: "x64" version "1.8.0" sha256 arm: "c2bc282c4abc27ddeb2c40825889f3f695eae3d0835b1930b218c8634d497543", intel: "b063227658b6d1da6fcd96873c90ec0dabcc66fabae06e92a21c8a8980397c6a" 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 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