forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathamazon-photos.rb
29 lines (25 loc) · 1.15 KB
/
amazon-photos.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
cask 'amazon-photos' do
version :latest
sha256 :no_check
# d29x207vrinatv.cloudfront.net was verified as official when first introduced to the cask
url 'https://d29x207vrinatv.cloudfront.net/mac/AmazonPhotosInstaller.dmg'
name 'Amazon Drive'
name 'Amazon Photos'
homepage 'https://www.amazon.com/Amazon-Photos/b?node=13234696011'
installer script: {
executable: 'Amazon Photos Installer.app/Contents/MacOS/Amazon Photos Installer',
args: ['--quiet'],
}
uninstall quit: 'com.amazon.clouddrive.mac',
delete: '/Applications/Amazon Photos.app',
launchctl: 'com.amazon.clouddrive'
zap trash: [
'~/Library/Logs/Amazon Cloud Drive/',
'~/Library/Logs/Amazon Drive/',
'~/Library/Preferences/com.amazon.clouddrive.mac.plist',
'~/Library/Application Scripts/Amazon Cloud Drive/',
'~/Library/Application Support/Amazon Drive/',
'~/Library/Caches/com.amazon.clouddrive.mac/',
'~/Library/Cookies/com.amazon.clouddrive.mac.binarycookies',
]
end