From 472336e4e4d14844bd1b658aea56c2d84462505a Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Sat, 30 Sep 2017 03:46:10 -0700 Subject: [PATCH] Add Google Drive File Stream Latest (#39129) --- Casks/google-drive-file-stream.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Casks/google-drive-file-stream.rb diff --git a/Casks/google-drive-file-stream.rb b/Casks/google-drive-file-stream.rb new file mode 100644 index 00000000000..3e108306473 --- /dev/null +++ b/Casks/google-drive-file-stream.rb @@ -0,0 +1,26 @@ +cask 'google-drive-file-stream' do + version :latest + sha256 :no_check + + url 'https://dl.google.com/drive-file-stream/GoogleDriveFileStream.dmg' + name 'Google Drive File Stream' + homepage 'https://www.google.com/drive/' + + conflicts_with cask: [ + 'google-backup-and-sync', + 'google-photos-backup-and-sync', + ] + depends_on macos: '>= :el_capitan' + + pkg 'GoogleDriveFileStream.pkg' + + uninstall login_item: 'Google Drive File Stream', + quit: 'com.google.drivefs', + pkgutil: 'com.google.drivefs' + + zap delete: '~/Library/Caches/com.google.drivefs', + trash: [ + '~/Library/Preferences/Google Drive File Stream Helper.plist', + '~/Library/Preferences/com.google.drivefs.plist', + ] +end