homebrew-cask/Casks/standard-notes.rb

25 lines
1.1 KiB
Ruby

cask 'standard-notes' do
version '2.1.1'
sha256 '76371d289adf6ddd0e5bfac2c52fe2fe6fa4532cab54a08fc1decdcdff95d3f6'
# github.com/standardnotes/desktop was verified as official when first introduced to the cask
url "https://github.com/standardnotes/desktop/releases/download/v#{version}/Standard-Notes-#{version}-mac.zip"
appcast 'https://github.com/standardnotes/desktop/releases.atom',
checkpoint: 'a3f273cfafa35b496be8a96bc5c16aa6698985646780bd483ecf3deb8e05a2bb'
name 'Standard Notes'
homepage 'https://standardnotes.org/'
auto_updates true
app 'Standard Notes.app'
zap trash: [
'~/Library/Application Support/Standard Notes',
'~/Library/Caches/org.standardnotes.standardnotes',
'~/Library/Caches/org.standardnotes.standardnotes.ShipIt',
'~/Library/Preferences/org.standardnotes.standardnotes.plist',
'~/Library/Preferences/org.standardnotes.standardnotes.helper.plist',
'~/Library/Saved Application State/org.standardnotes.standardnotes.savedState',
]
end