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