We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acb3675 commit 2c20e3bCopy full SHA for 2c20e3b
Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -128,6 +128,20 @@ def check_for_unsupported_macos
128
EOS
129
end
130
131
+ def check_for_opencore
132
+ has_opencore =
133
+ File.exist?("/Library/PrivilegedHelperTools/com.dortania.opencore-legacy-patcher.privileged-helper")
134
+ has_opencore ||= File.exist?("/Library/Application Support/Dortania/OpenCore-Patcher.app")
135
+ has_opencore ||= MacOS.pkgutil_info("com.dortania.opencore-legacy-patcher").present?
136
+ return unless has_opencore
137
+
138
+ <<~EOS
139
+ You have installed macOS using OpenCore Legacy Patcher.
140
+ We do not provide support for this configuration.
141
+ #{please_create_pull_requests}
142
+ EOS
143
+ end
144
145
def check_xcode_up_to_date
146
return unless MacOS::Xcode.outdated?
147
0 commit comments