2015-12-18 09:15:28 +08:00
|
|
|
cask 'bbedit' do
|
2018-11-13 01:15:47 +08:00
|
|
|
if MacOS.version <= :el_capitan
|
|
|
|
version '12.1.6'
|
|
|
|
sha256 '23b9fc6ef5c03cbcab041566503c556d5baf56b2ec18f551e6f0e9e6b48dc690'
|
2019-10-04 23:39:05 +08:00
|
|
|
elsif MacOS.version <= :high_sierra
|
|
|
|
version '12.6.7'
|
|
|
|
sha256 'd0647c864268b187343bd95bfcf490d6a2388579b1f8fce64a289c65341b1144'
|
2018-11-13 01:15:47 +08:00
|
|
|
else
|
2019-12-05 22:05:14 +08:00
|
|
|
version '13.0.3'
|
|
|
|
sha256 'b8d62ae42c9621fd4f7a2a9bbea6b299df58a21d1043d5802371a8a4b5a6bfd8'
|
2018-11-13 01:15:47 +08:00
|
|
|
end
|
2017-05-24 04:18:44 +08:00
|
|
|
# s3.amazonaws.com/BBSW-download was verified as official when first introduced to the cask
|
2018-02-15 15:59:44 +08:00
|
|
|
url "https://s3.amazonaws.com/BBSW-download/BBEdit_#{version}.dmg"
|
2018-06-12 22:37:26 +08:00
|
|
|
appcast 'https://versioncheck.barebones.com/BBEdit.xml'
|
2015-01-30 03:33:55 +08:00
|
|
|
name 'BBEdit'
|
2017-04-03 08:59:28 +08:00
|
|
|
homepage 'https://www.barebones.com/products/bbedit/'
|
2014-06-27 08:00:59 +08:00
|
|
|
|
2019-01-13 22:22:03 +08:00
|
|
|
auto_updates true
|
2018-11-13 01:15:47 +08:00
|
|
|
depends_on macos: '>= :el_capitan'
|
2017-02-25 20:49:55 +08:00
|
|
|
|
2014-09-16 00:05:18 +08:00
|
|
|
app 'BBEdit.app'
|
2018-02-10 23:36:33 +08:00
|
|
|
|
|
|
|
zap trash: [
|
|
|
|
'~/Library/Application Support/BBEdit',
|
|
|
|
'~/Library/Preferences/com.barebones.bbedit.plist',
|
|
|
|
'~/Library/BBEdit',
|
|
|
|
'~/Library/Caches/com.barebones.bbedit',
|
|
|
|
]
|
2013-10-30 23:14:30 +08:00
|
|
|
end
|