homebrew-cask/Casks/hyper.rb

26 lines
1.1 KiB
Ruby

cask 'hyper' do
version '1.3.1'
sha256 '00c622b181a83cb9e458f7d16704b32ce37a92d85a6dfe5fdac9356fb7fdc7d5'
# github.com/zeit/hyper was verified as official when first introduced to the cask
url "https://github.com/zeit/hyper/releases/download/#{version}/hyper-#{version}-mac.zip"
appcast 'https://github.com/zeit/hyper/releases.atom',
checkpoint: 'a47b64cf6d22b8e442b840fa6e7707873dd86139d23ad6d629974ec0644be26b'
name 'Hyper'
homepage 'https://hyper.is/'
app 'Hyper.app'
zap delete: [
'~/.hyper.js',
'~/.hyper_plugins',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/co.zeit.hyper.sfl',
'~/Library/Application Support/Hyper',
'~/Library/Caches/co.zeit.hyper',
'~/Library/Caches/co.zeit.hyper.ShipIt',
'~/Library/Preferences/co.zeit.hyper.plist',
'~/Library/Preferences/co.zeit.hyper.helper.plist',
'~/Library/Saved Application State/co.zeit.hyper.savedState',
]
end