From 85149a898b06f0f2cef11fe6b14f45e61b437005 Mon Sep 17 00:00:00 2001 From: nuomi1 Date: Fri, 8 Mar 2019 10:17:19 +0800 Subject: [PATCH] Update realm-studio.rb for auto_updates and zap (#59918) * Update realm-studio.rb for auto_updates and zap * Update realm-studio.rb --- Casks/realm-studio.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Casks/realm-studio.rb b/Casks/realm-studio.rb index 95d882fe0e..15ec73b332 100644 --- a/Casks/realm-studio.rb +++ b/Casks/realm-studio.rb @@ -7,5 +7,17 @@ cask 'realm-studio' do name 'Realm Studio' homepage 'https://realm.io/products/realm-studio/' + auto_updates true + app 'Realm Studio.app' + + zap delete: [ + '~/Library/Application Support/Realm Studio', + '~/Library/Caches/io.realm.realm-studio', + '~/Library/Caches/io.realm.realm-studio.ShipIt', + '~/Library/Logs/Realm Studio', + '~/Library/Preferences/io.realm.realm-studio.helper.plist', + '~/Library/Preferences/io.realm.realm-studio.plist', + '~/Library/Saved Application State/io.realm.realm-studio.savedState', + ] end