2015-12-18 09:15:28 +08:00
|
|
|
cask 'tower' do
|
2015-12-23 12:49:55 +08:00
|
|
|
version '2.3.3-302-6f2959a3'
|
|
|
|
sha256 '5c23102b735172bc311cd811f7dec8a98a40c2c0cff2cefc9960f930c2515bc8'
|
2014-07-01 02:28:06 +08:00
|
|
|
|
2015-05-22 22:57:35 +08:00
|
|
|
# amazonaws.com is the official download host per the vendor homepage
|
2016-01-12 23:32:27 +08:00
|
|
|
url "https://fournova-app-updates.s3.amazonaws.com/apps/tower#{version.major}-mac/#{version.sub(%r{^.*?-}, '')}/Tower-#{version.to_i}-#{version.sub(%r{-[^-]*$}, '')}.zip"
|
|
|
|
appcast "https://updates.fournova.com/updates/tower#{version.major}-mac/stable",
|
|
|
|
:sha256 => '6e791750c2767ef3bccacbb9c1b273d4bd8003cf62cd6c1997e8964ddf10e777'
|
2015-01-30 04:48:29 +08:00
|
|
|
name 'Tower'
|
2015-12-26 12:46:37 +08:00
|
|
|
homepage 'https://www.git-tower.com/'
|
2015-01-30 04:48:29 +08:00
|
|
|
license :commercial
|
2014-06-27 08:01:49 +08:00
|
|
|
|
2014-09-16 00:06:31 +08:00
|
|
|
app 'Tower.app'
|
2015-03-30 22:28:19 +08:00
|
|
|
binary 'Tower.app/Contents/MacOS/gittower'
|
2014-11-22 22:24:21 +08:00
|
|
|
|
2014-09-18 19:58:00 +08:00
|
|
|
zap :delete => [
|
2016-01-12 23:32:27 +08:00
|
|
|
"~/Library/Application Support/com.fournova.Tower#{version.major}",
|
|
|
|
"~/Library/Caches/com.fournova.Tower#{version.major}",
|
|
|
|
"~/Library/Preferences/com.fournova.Tower#{version.major}.plist",
|
2014-09-18 19:58:00 +08:00
|
|
|
]
|
2015-03-30 22:40:06 +08:00
|
|
|
|
2015-03-30 22:28:19 +08:00
|
|
|
caveats do
|
|
|
|
files_in_usr_local
|
|
|
|
end
|
2013-06-22 15:39:35 +08:00
|
|
|
end
|