homebrew-cask/Casks/rectangle.rb

22 lines
741 B
Ruby

cask 'rectangle' do
version '0.20'
sha256 'dbd63a7564841aadabe340c13a3e61ed6bac10ec0933d441adec7063e7d62d54'
# github.com/rxhanson/Rectangle/releases/download/v was verified as official when first introduced to the cask
url "https://github.com/rxhanson/Rectangle/releases/download/v#{version}/Rectangle#{version}.dmg"
appcast 'https://www.rectangleapp.com/downloads/updates.xml'
name 'Rectangle'
homepage 'https://rectangleapp.com/'
auto_updates true
depends_on macos: '>= :sierra'
app 'Rectangle.app'
zap trash: [
'~/Library/Preferences/com.knollsoft.Rectangle',
'~/Library/Application Support/Rectangle',
'~/Library/Caches/com.knollsoft.Rectangle',
]
end