27 lines
1.1 KiB
Ruby
27 lines
1.1 KiB
Ruby
cask 'firefox' do
|
|
version '44.0.2'
|
|
sha256 '311f4114ab6159ec6b2795d43d787f292236cdb92d89a400f9b617cca60d9515'
|
|
|
|
url "https://ftp.mozilla.org/pub/firefox/releases/#{version}/mac/en-US/Firefox%20#{version}.dmg"
|
|
appcast "https://aus5.mozilla.org/update/3/Firefox/#{version}/0/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release/Darwin%2015.3.0/default/default/update.xml?force=1",
|
|
checkpoint: 'c7034b1ee3dc124a33b3f6641e6c038d708ea798a19ac8e6629b2ad692964d14'
|
|
name 'Mozilla Firefox'
|
|
homepage 'https://www.mozilla.org/en-US/firefox/'
|
|
license :mpl
|
|
|
|
auto_updates true
|
|
|
|
app 'Firefox.app'
|
|
|
|
zap delete: [
|
|
'~/Library/Application Support/Firefox',
|
|
'~/Library/Caches/Firefox',
|
|
]
|
|
|
|
caveats <<-EOS.undent
|
|
The Mac App Store version of 1Password won't work with a Homebrew-cask-linked Mozilla Firefox. To bypass this limitation, you need to either:
|
|
+ Move Mozilla Firefox to your /Applications directory (the app itself, not a symlink).
|
|
+ Install 1Password from outside the Mac App Store (licenses should transfer automatically, but you should contact AgileBits about it).
|
|
EOS
|
|
end
|