homebrew-cask/Casks/standard-notes.rb

25 lines
1.1 KiB
Ruby

cask 'standard-notes' do
version '2.0.41'
sha256 '464907bdd2cf7302720637d603e4b67d519e2c6bea93727ae5a93e864b82cb15'
# 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: 'b0c7fd6e9e577061cebebe516679c6e2aacc3671c87f6ecb67eaae439ec4274a'
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