From 30949b985fbf0db2c82b6c80e24a5f24a44eea89 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Wed, 24 Mar 2021 00:20:07 +0800 Subject: [PATCH] Update xquartz from 2.7.11 to 2.8.0 (#97962) --- Casks/xquartz.rb | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/Casks/xquartz.rb b/Casks/xquartz.rb index 945fce2827..ff34f3709f 100644 --- a/Casks/xquartz.rb +++ b/Casks/xquartz.rb @@ -1,9 +1,9 @@ cask "xquartz" do - version "2.7.11" - sha256 "32e50e8f1e21542b847041711039fa78d44febfed466f834a9281c44d75cd6c3" + version "2.8.0" + sha256 "b74d1d2ff98452d73fb68172c586489e2a6ad3c512e41fd1b0b666ec3dbf5b28" - url "https://dl.bintray.com/xquartz/downloads/XQuartz-#{version}.dmg", - verified: "bintray.com/xquartz/" + url "https://github.com/XQuartz/XQuartz/releases/download/XQuartz-#{version}/XQuartz-#{version}.dmg", + verified: "github.com/XQuartz/XQuartz/" name "XQuartz" desc "Open-source version of the X.Org X Window System" homepage "https://www.xquartz.org/" @@ -19,28 +19,19 @@ cask "xquartz" do pkg "XQuartz.pkg" - uninstall quit: "org.macosforge.xquartz.X11", - launchctl: [ - "org.macosforge.xquartz.startx", - "org.macosforge.xquartz.privileged_startx", - ], - pkgutil: "org.macosforge.xquartz.pkg", - delete: [ - "/opt/X11", - "/private/etc/manpaths.d/40-XQuartz", - "/private/etc/paths.d/40-XQuartz", - ] + uninstall launchctl: "org.xquartz.privileged_startx", + pkgutil: "org.xquartz.X11" zap trash: [ "~/.Xauthority", "~/Library/Application Support/XQuartz", - "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.macosforge.xquartz.x11.sfl*", - "~/Library/Caches/org.macosforge.xquartz.X11", - "~/Library/Cookies/org.macosforge.xquartz.X11.binarycookies", - "~/Library/Logs/X11/org.macosforge.xquartz.log", - "~/Library/Logs/X11/org.macosforge.xquartz.log.old", - "~/Library/Preferences/org.macosforge.xquartz.X11.plist", - "~/Library/Saved Application State/org.macosforge.xquartz.X11.savedState", + "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.xquartz.x11.sfl*", + "~/Library/Caches/org.xquartz.X11", + "~/Library/Cookies/org.xquartz.X11.binarycookies", + "~/Library/Logs/X11/org.xquartz.log", + "~/Library/Logs/X11/org.xquartz.log.old", + "~/Library/Preferences/org.xquartz.X11.plist", + "~/Library/Saved Application State/org.xquartz.X11.savedState", ], rmdir: [ "~/.fonts",