Skip to content

Commit

Permalink
Disabled CPU check on mac
Browse files Browse the repository at this point in the history
as it doesn't make fully sense yet
  • Loading branch information
hhyyrylainen committed Apr 29, 2024
1 parent ebaf28b commit 5a88512
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions LauncherBackend/Services/ICPUFeatureCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ public bool IsBasicThriveLibrarySupported()

private bool CheckFeatures()
{
// m1 chips don't show up with SSE supported so for now just skip this check on Mac until we have Thrive
// working there and know the real requirements
if (OperatingSystem.IsMacOS())
{
logger.LogInformation("CPU check is skipped on mac for now");
return true;
}

if (!Sse41.IsSupported)
{
logger.LogWarning("CPU is detected as not having SSE 4.1 support");
Expand Down

0 comments on commit 5a88512

Please sign in to comment.