2014-12-11 11:31:25 +08:00
|
|
|
cask :v1 => '1password' do
|
2014-10-22 07:56:44 +08:00
|
|
|
|
2014-12-11 00:55:21 +08:00
|
|
|
if MacOS.release <= :lion
|
2014-12-07 13:25:37 +08:00
|
|
|
version '3.8.22'
|
|
|
|
sha256 '3afd75f1bddf791dc7dbc9a7d92ab6eb91ee891407d750cedb7b5aff5fe8bf17'
|
|
|
|
|
2015-07-02 00:42:02 +08:00
|
|
|
# cloudfront.net is the official download host per the vendor homepage
|
|
|
|
url "https://d13itkw33a7sus.cloudfront.net/dist/1P/mac/1Password-#{version}.zip"
|
2014-12-07 13:25:37 +08:00
|
|
|
|
|
|
|
app '1Password.app'
|
2014-12-11 00:55:21 +08:00
|
|
|
elsif MacOS.release <= :mavericks
|
2014-10-22 07:56:44 +08:00
|
|
|
version '4.4.3'
|
|
|
|
sha256 '6657fc9192b67dde63fa9f67b344dc3bc6b7ff3e501d3dbe0f5712a41d8ee428'
|
2014-12-07 13:25:37 +08:00
|
|
|
|
2015-07-02 00:42:02 +08:00
|
|
|
# cloudfront.net is the official download host per the vendor homepage
|
|
|
|
url "https://d13itkw33a7sus.cloudfront.net/dist/1P/mac4/1Password-#{version}.zip"
|
2014-12-07 13:25:37 +08:00
|
|
|
|
|
|
|
app "1Password #{version.to_i}.app"
|
2014-10-22 07:56:44 +08:00
|
|
|
else
|
2015-05-27 02:35:39 +08:00
|
|
|
version '5.3.2'
|
|
|
|
sha256 '6051434c77ad48af7b11f2259a91b12ded21ce3357c8db4780718ce83f44b668'
|
2014-12-07 13:25:37 +08:00
|
|
|
|
2015-07-02 00:42:02 +08:00
|
|
|
# cloudfront.net is the official download host per the vendor homepage
|
|
|
|
url "https://d13itkw33a7sus.cloudfront.net/dist/1P/mac4/1Password-#{version}.zip"
|
2014-12-07 13:25:37 +08:00
|
|
|
|
|
|
|
app "1Password #{version.to_i}.app"
|
2014-10-22 07:56:44 +08:00
|
|
|
end
|
2014-06-27 08:01:33 +08:00
|
|
|
|
2015-01-04 09:55:06 +08:00
|
|
|
name '1Password'
|
2014-06-27 08:01:33 +08:00
|
|
|
homepage 'https://agilebits.com/onepassword'
|
2014-10-22 07:56:44 +08:00
|
|
|
license :commercial
|
2014-10-21 19:19:04 +08:00
|
|
|
|
|
|
|
zap :delete => [
|
|
|
|
'~/Library/Application Scripts/2BUA8C4S2C.com.agilebits.onepassword-osx-helper',
|
|
|
|
'~/Library/Containers/2BUA8C4S2C.com.agilebits.onepassword-osx-helper',
|
|
|
|
'~/Library/Containers/com.agilebits.onepassword-osx',
|
|
|
|
'~/Library/Group Containers/2BUA8C4S2C.com.agilebits',
|
|
|
|
]
|
2012-03-11 01:30:27 +08:00
|
|
|
end
|