os/mac/diagnostic: skip OpenCore check in CI

This commit is contained in:
Ruoyu Zhong 2024-11-13 23:10:38 +08:00
parent dee399c27d
commit 13265ca170
No known key found for this signature in database

View File

@ -130,6 +130,7 @@ module OS
def check_for_opencore def check_for_opencore
return if ::Hardware::CPU.physical_cpu_arm64? 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 # https://dortania.github.io/OpenCore-Legacy-Patcher/UPDATE.html#checking-oclp-and-opencore-versions
begin begin
@ -141,7 +142,7 @@ module OS
end end
<<~EOS <<~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. We do not provide support for this configuration.
#{please_create_pull_requests} #{please_create_pull_requests}
EOS EOS