forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashlane.rb
30 lines (25 loc) · 1.41 KB
/
dashlane.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
cask 'dashlane' do
version '6.2017.0.34634'
sha256 '3fa1ef63147779f4e3decb1e850b5f6a08c22ff09e74f78bf8f28d382aafc982'
# d3mfqat9ni8wb5.cloudfront.net/releases/ was verified as official when first introduced to the cask
url "https://d3mfqat9ni8wb5.cloudfront.net/releases/#{version.major_minor_patch}/#{version}/release/Dashlane.dmg"
appcast 'https://ws1.dashlane.com/5/binaries/query?format=json&os=OS_X_10_14_5&target=archive&platform=launcher_macosx'
name 'Dashlane'
homepage 'https://www.dashlane.com/'
depends_on macos: '>= :sierra'
app 'Dashlane.app'
uninstall launchctl: 'com.dashlane.DashlaneAgent'
zap trash: [
'~/Library/Application Scripts/com.dashlane.Dashlane.SafariExtensionDMG',
'~/Library/Application Support/Dashlane',
'~/Library/Application Support/com.dashlane.Dashlane',
'~/Library/Application Support/com.dashlane.DashlaneAgent',
'~/Library/Caches/com.dashlane.Dashlane',
'~/Library/Caches/com.dashlane.DashlaneAgent',
'~/Library/Caches/com.dashlane.DashlanePluginService',
'~/Library/Containers/com.dashlane.Dashlane.SafariExtensionDMG',
'~/Library/Preferences/com.dashlane.Dashlane.plist',
'~/Library/Preferences/com.dashlane.DashlaneAgent.plist',
'~/Library/Preferences/com.dashlane.DashlanePluginService.plist',
]
end