homebrew-cask/Casks/hyper.rb

28 lines
1.1 KiB
Ruby

cask 'hyper' do
version '3.0.2'
sha256 '56ac31f2f8aa99edf03f277b25203eca9d8b6c4d6535f673a996fddca0d21bb5'
# 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'
name 'Hyper'
homepage 'https://hyper.is/'
auto_updates true
app 'Hyper.app'
binary "#{appdir}/Hyper.app/Contents/Resources/bin/hyper"
zap trash: [
'~/.hyper.js',
'~/.hyper_plugins',
'~/Library/Application Support/Hyper',
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/co.zeit.hyper.sfl*',
'~/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