From ae05ea54f9a5824ea18a09bcc2cf0374187f8e67 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Tue, 14 Nov 2023 13:41:23 +0800 Subject: [PATCH] Update omnigraffle.rb --- Casks/o/omnigraffle.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Casks/o/omnigraffle.rb b/Casks/o/omnigraffle.rb index d3cfccfac8..b1e49cff7b 100644 --- a/Casks/o/omnigraffle.rb +++ b/Casks/o/omnigraffle.rb @@ -59,6 +59,8 @@ cask "omnigraffle" do url "https://www.omnigroup.com/download/latest/omnigraffle/" strategy :header_match end + + depends_on macos: ">= :big_sur" end name "OmniGraffle" @@ -73,7 +75,7 @@ cask "omnigraffle" do "~/Library/Application Scripts/com.omnigroup.OmniGraffle#{version.major}", "~/Library/Application Support/CloudDocs/session/containers/iCloud.com.omnigroup.OmniGraffle.plist", "~/Library/Application Support/CloudDocs/session/containers/iCloud.com.omnigroup.OmniGraffle/", - "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.omnigroup.omnigraffle#{version.major}.sfl2", + "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.omnigroup.omnigraffle#{version.major}.sfl*", "~/Library/Containers/com.omnigroup.OmniGraffle#{version.major}", "~/Library/Mobile Documents/iCloud~com~omnigroup~OmniGraffle", ]