homebrew-cask/Casks/1password.rb

42 lines
1.6 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask '1password' do
2016-08-08 03:12:48 +08:00
if MacOS.version <= :lion
version '3.8.22'
sha256 '3afd75f1bddf791dc7dbc9a7d92ab6eb91ee891407d750cedb7b5aff5fe8bf17'
2016-02-11 23:37:54 +08:00
# d13itkw33a7sus.cloudfront.net was verified as official when first introduced to the cask
2015-07-02 00:42:02 +08:00
url "https://d13itkw33a7sus.cloudfront.net/dist/1P/mac/1Password-#{version}.zip"
app '1Password.app'
2016-08-08 03:12:48 +08:00
elsif MacOS.version <= :mavericks
version '4.4.3'
sha256 '6657fc9192b67dde63fa9f67b344dc3bc6b7ff3e501d3dbe0f5712a41d8ee428'
2016-02-11 23:37:54 +08:00
# d13itkw33a7sus.cloudfront.net was verified as official when first introduced to the cask
2015-07-02 00:42:02 +08:00
url "https://d13itkw33a7sus.cloudfront.net/dist/1P/mac4/1Password-#{version}.zip"
2016-01-13 06:26:24 +08:00
app "1Password #{version.major}.app"
else
2016-12-22 10:59:07 +08:00
version '6.5.3'
sha256 '1771155ee1b7fc97db71d34d99ed906e6e37200b0ae4f6d310da00c8de5ec27a'
2016-02-11 23:37:54 +08:00
# d13itkw33a7sus.cloudfront.net was verified as official when first introduced to the cask
2015-07-02 00:42:02 +08:00
url "https://d13itkw33a7sus.cloudfront.net/dist/1P/mac4/1Password-#{version}.zip"
2016-01-13 06:26:24 +08:00
app "1Password #{version.major}.app"
end
2017-01-11 14:02:59 +08:00
appcast 'https://app-updates.agilebits.com/product_history/OPM4',
checkpoint: '9944f1ff5b4d9157a82a680da6c47b7d3db9d9332afd8c18748eaad48a5ae56b'
2015-01-04 09:55:06 +08:00
name '1Password'
homepage 'https://1password.com/'
2014-10-21 19:19:04 +08:00
2016-01-13 06:26:24 +08:00
auto_updates true
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