homebrew-cask/Casks/onepassword.rb

24 lines
834 B
Ruby
Raw Normal View History

2013-11-07 01:45:46 +08:00
class Onepassword < Cask
if MacOS.version < :yosemite
version '4.4.3'
sha256 '6657fc9192b67dde63fa9f67b344dc3bc6b7ff3e501d3dbe0f5712a41d8ee428'
app '1Password 4.app'
else
2014-10-31 06:49:38 +08:00
version '5.0.2'
sha256 'b6b0050d6c8364190897cd99951ca28c5a3ccf01ec5dd3c8025b6cafb4f6758a'
app '1Password 5.app'
end
2014-09-26 20:09:05 +08:00
url "http://i.agilebits.com/dist/1P/mac4/1Password-#{version}.zip"
homepage 'https://agilebits.com/onepassword'
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