From fff160a9ce6b3ff08baf245b9f8011d5b770d4fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joacim=20L=C3=B6wgren?= Date: Wed, 30 Mar 2016 19:30:48 +0200 Subject: [PATCH] Add Safari Technology Preview.app --- Casks/safari-technology-preview.rb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Casks/safari-technology-preview.rb diff --git a/Casks/safari-technology-preview.rb b/Casks/safari-technology-preview.rb new file mode 100644 index 000000000..c92875eca --- /dev/null +++ b/Casks/safari-technology-preview.rb @@ -0,0 +1,25 @@ +cask 'safari-technology-preview' do + version :latest + sha256 :no_check + + url 'https://secure-appldnld.apple.com/STP/SafariTechnologyPreview.dmg' + name 'Safari Technology Preview' + homepage 'https://developer.apple.com/safari/technology-preview/' + license :gratis + + pkg 'Safari Technology Preview for OS X El Capitan.pkg' + + uninstall delete: '/Applications/Safari Technology Preview.app' + + zap delete: [ + '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.apple.safaritechnologypreview.sfl', + '~/Library/Caches/com.apple.SafariTechnologyPreview', + '~/Library/Preferences/com.apple.SafariTechnologyPreview.plist', + '~/Library/SafariTechnologyPreview', + '~/Library/Saved Application State/com.apple.SafariTechnologyPreview.savedState', + '~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview-com.apple.Safari.UserRequests.plist', + '~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview-com.apple.Safari.WebFeedSubscriptions.plist', + '~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview.plist', + '~/Library/WebKit/com.apple.SafariTechnologyPreview', + ] +end