From eb0bbd0796aede4aa1a4ae003d024aadaf7cdc56 Mon Sep 17 00:00:00 2001 From: Linus Dierheimer Date: Fri, 17 Jun 2022 20:01:02 +0200 Subject: [PATCH] Detect WSL as host name --- src/modules/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/host.c b/src/modules/host.c index 46a7d891e..27cc990a7 100644 --- a/src/modules/host.c +++ b/src/modules/host.c @@ -85,7 +85,7 @@ void ffPrintHost(FFinstance* instance) getenv("WSLENV") != NULL || getenv("WSL_DISTRO") != NULL || getenv("WSL_INTEROP") != NULL - )) ffStrbufAppendS(&product_family, "Windows Subsystem for Linux"); + )) ffStrbufAppendS(&product_name, "Windows Subsystem for Linux"); #else ffSettingsGetAndroidProperty("ro.product.brand", &product_name); if(product_name.length > 0){