Skip to content

Commit

Permalink
os/mac/diagnostic: skip OpenCore check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Nov 13, 2024
1 parent dee399c commit 13265ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/extend/os/mac/diagnostic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def check_for_unsupported_macos

def check_for_opencore
return if ::Hardware::CPU.physical_cpu_arm64?
return if ENV["CI"]

# https://dortania.github.io/OpenCore-Legacy-Patcher/UPDATE.html#checking-oclp-and-opencore-versions
begin
Expand All @@ -141,7 +142,7 @@ def check_for_opencore
end

<<~EOS
You have installed macOS using OpenCore Legacy Patcher, version #{opencore_version}.
You have installed macOS using OpenCore Legacy Patcher.
We do not provide support for this configuration.
#{please_create_pull_requests}
EOS
Expand Down

0 comments on commit 13265ca

Please sign in to comment.