homebrew-cask/Casks/standard-notes.rb

25 lines
1.1 KiB
Ruby

cask 'standard-notes' do
version '2.0.42'
sha256 'aa3e88989b3b9c81fb3b1629fd9945fd8a09b7a83933f6bc2d81035871e61bc1'
# 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: 'b03f5bd462074dbd0caf7c69065b9c79c25e79d93c6971ca4a9bafcb44a2e61f'
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