From 9085aa99da72490640924789f93a6efb67a1b307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Stor=C3=B8=20Nyfl=C3=B8tt?= Date: Wed, 10 Mar 2021 16:54:48 +0100 Subject: [PATCH] Ignore management exceptions on missing namespaces --- CHANGELOG.md | 3 +++ Libs/Celeste_Public_Api/Helpers/FingerPrint.cs | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a4e84a..a6f98bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## [3.4.2](https://github.com/ProjectCeleste/Celeste.Launcher/releases/tag/v3.4.2) (2021-03-10) +- Fixed an issue with fingerprint crashing the launcher on some systems + ## [3.4.1](https://github.com/ProjectCeleste/Celeste.Launcher/releases/tag/v3.4.1) (2021-02-08) - Fixed an issue with custom scenario linking not working diff --git a/Libs/Celeste_Public_Api/Helpers/FingerPrint.cs b/Libs/Celeste_Public_Api/Helpers/FingerPrint.cs index 73fb293..139119f 100644 --- a/Libs/Celeste_Public_Api/Helpers/FingerPrint.cs +++ b/Libs/Celeste_Public_Api/Helpers/FingerPrint.cs @@ -125,6 +125,10 @@ private static string Identifier(string wmiClass, string wmiProperty) return ""; } + catch (ManagementException) + { + return ""; + } catch (COMException) { return "";