homebrew-cask/Casks/hyper.rb

26 lines
1.1 KiB
Ruby

cask 'hyper' do
version '1.2.1'
sha256 'eefd8e345c11cae8dbb0bfb99fba1aa30d35562fb425c27db1ca59917494f4c2'
# 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: 'cef5c590ab79abae9fcccea41aced83ebf9d6b67f5f89a87545e7301b166f181'
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