Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit b783b22

Browse files
committed
chore: major version macos
1 parent de0de94 commit b783b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/services/engine_service.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ EngineService::GetEngineVariants(const std::string& engine,
553553
engine_release_menlo.value().assets.end(), std::back_inserter(assets),
554554
[get_os_major](const github_release_utils::GitHubAsset& assets) {
555555
#if defined(__APPLE__) && defined(__MACH__)
556-
if (get_os_major() == 12 &&
556+
if (get_os_major() <= 12 &&
557557
assets.name.find(kMacOs) != std::string::npos) {
558558
return true;
559559
}
@@ -563,7 +563,7 @@ EngineService::GetEngineVariants(const std::string& engine,
563563
#endif
564564
});
565565
}
566-
566+
567567
if (engine_release_ggml.has_value()) {
568568
// In case of macos, if os version is 12, we get binary from menlo
569569
std::copy_if(

0 commit comments

Comments
 (0)