homebrew-cask/Casks/chatty.rb

24 lines
669 B
Ruby
Raw Normal View History

2016-05-08 08:18:54 +08:00
cask 'chatty' do
2019-01-15 03:21:05 +08:00
version '0.9.4'
sha256 '5172ff7cf7bf37e3c78b9a01f57782152649038d44d5e632695ccd87ca61154f'
2016-05-08 08:18:54 +08:00
2016-07-05 05:51:23 +08:00
# github.com/chatty/chatty was verified as official when first introduced to the cask
2016-05-08 08:18:54 +08:00
url "https://github.com/chatty/chatty/releases/download/v#{version}/Chatty_#{version}.zip"
2018-06-12 22:37:26 +08:00
appcast 'https://github.com/chatty/chatty/releases.atom'
2016-05-08 08:18:54 +08:00
name 'Chatty'
homepage 'https://chatty.github.io/'
2016-05-08 08:18:54 +08:00
suite 'Chatty'
preflight do
# There is no sub-folder in the ZIP; the root *is* the folder
FileUtils.mv(staged_path.children, staged_path.join('Chatty').tap(&:mkpath))
end
2016-05-08 08:18:54 +08:00
2017-11-18 17:49:19 +08:00
zap trash: '~/.chatty'
2016-05-08 08:18:54 +08:00
caveats do
2018-05-17 06:23:57 +08:00
depends_on_java '7+'
2016-05-08 08:18:54 +08:00
end
end