feat: 增加华硕 GTIII 显卡超频工具注入导致崩溃提示

This commit is contained in:
uye
2025-11-06 16:41:09 +08:00
parent 3e471ecfcc
commit 5d8e1d89f3

View File

@@ -25,7 +25,11 @@ namespace MaaWpfGui.Utilities;
internal class BadModules
{
private static readonly string[] _names = ["NahimicOSD.dll", "AudioDevProps2.dll"];
private static readonly string[] _names = [
"NahimicOSD.dll",
"AudioDevProps2.dll",
"GTIII-OSD64.dll"
];
public static unsafe string[] GetBadInjectedModules()
{
@@ -49,7 +53,7 @@ internal class BadModules
}
}
return result.ToArray();
return [.. result];
}
private class WpfWin32Window(System.Windows.Window w) : IWin32Window, System.Windows.Interop.IWin32Window