From fe49a9624e75ff418af8eb2b82d98ff785c3c667 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Tue, 22 Sep 2026 09:47:45 +0800 Subject: [PATCH] Host (macOS): adds new models --- src/detection/host/host_mac.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/detection/host/host_mac.c b/src/detection/host/host_mac.c index f610c3dde..29a0aaa04 100644 --- a/src/detection/host/host_mac.c +++ b/src/detection/host/host_mac.c @@ -229,6 +229,18 @@ const char* ffHostGetMacProductNameWithHwModel(const FFstrbuf* hwModel) { } } else if (ffStrbufStartsWithS(hwModel, "Mac")) { const char* version = hwModel->chars + strlen("Mac"); + if (ffStrEquals(version, "18,5")) { + return "Mac Mini (M6, 2026)"; + } + if (ffStrEquals(version, "17,16")) { + return "Mac Mini (M5 Pro, 2026)"; + } + if (ffStrEquals(version, "17,15")) { + return "Mac Studio (M5 Ultra, 2026)"; + } + if (ffStrEquals(version, "17,14")) { + return "Mac Studio (M5 Max, 2026)"; + } if (ffStrEquals(version, "17,9")) { return "MacBook Pro (14-inch, M5 Pro, 2026)"; }