cask 'thunder' do version '3.0.6.2782' sha256 '9e3c0f9606f7ea8120cc68486501c9e33bdf6e3e0fa4a81fd0e05be9525d9ca9' # down.sandai.net was verified as official when first introduced to the cask url "http://down.sandai.net/mac/thunder_#{version}.dmg" name 'Thunder' name '迅雷' homepage 'http://mac.xunlei.com/' depends_on macos: '>= :yosemite' app 'Thunder.app' zap delete: [ '~/Library/Application Support/Thunder', '~/Library/Caches/com.xunlei.Thunder', '~/Library/Caches/com.xunlei.XLPlayer', '~/Library/Caches/com.xunlei.swjsq', '~/Library/Cookies/com.xunlei.Thunder.binarycookies', '~/Library/Preferences/com.xunlei.Thunder.plist', '~/Library/Saved Application State/com.xunlei.Thunder.savedState', '~/Library/Saved Application State/com.xunlei.XLPlayer.savedState', ] end