From 4a11ab0f7f5ebaaf02fca9e72fe5835db4938608 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 28 Sep 2019 20:28:10 -0700 Subject: [PATCH] Fix firewall detection warning on non-English systems --- mist/mist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mist/mist.cpp b/mist/mist.cpp index f99ee9f..1140a79 100644 --- a/mist/mist.cpp +++ b/mist/mist.cpp @@ -994,7 +994,7 @@ int main(int argc, char* argv[]) } if (ExecuteCommand("WMIC /Node:localhost /Namespace:\\\\root\\SecurityCenter2 Path FirewallProduct Get displayName", wmicBuf, sizeof(wmicBuf))) { fprintf(LOG_OUT, "Firewall products:\n%s", wmicBuf); - if (!strstr(wmicBuf, "No Instance(s) Available.") && !strstr(wmicBuf, "Invalid namespace")) { + if (strstr(wmicBuf, "displayName")) { DisplayMessage("Detected anti-virus and/or firewall software installed on this system. This software may interfere with NVIDIA GameStream.\n\n" "Please try temporarily disabling your anti-virus or firewall software if you experience connection issues with Moonlight.", "https://github.com/moonlight-stream/moonlight-docs/wiki/Troubleshooting", MpInfo, false);