diff --git a/Qwilight/ViewModel/MainViewModel.cs b/Qwilight/ViewModel/MainViewModel.cs index 1d7b03a..5cd8f94 100644 --- a/Qwilight/ViewModel/MainViewModel.cs +++ b/Qwilight/ViewModel/MainViewModel.cs @@ -3261,17 +3261,37 @@ var date = Version.Parse(taehuiQwilightDateValue.date); var filePaths = new List(); - await SetFilePaths(AppContext.BaseDirectory); + SetFilePaths(AppContext.BaseDirectory); - async ValueTask SetFilePaths(string targetEntryPath) + void SetFilePaths(string targetEntryPath) { foreach (var entryPath in Utility.GetEntry(targetEntryPath).Where(entryPath => entryPath != QwilightComponent.QwilightEntryPath)) { - await SetFilePaths(entryPath); +#if X64 + if (entryPath != "x64") +#endif + { + SetFilePaths(entryPath); + } } foreach (var filePath in Utility.GetFiles(targetEntryPath)) { - filePaths.Add(filePath); + if (filePath != "fmod.dll" +#if X64 + && filePath != "CChromaEditorLibrary64.dll" + && filePath != "LogitechLedEnginesWrapper.dll" + && filePath != "Microsoft.Graphics.Canvas.dll" + && filePath != "NVIDIA.dll" + && filePath != "sl.common.dll" + && filePath != "sl.interposer.dll" + && filePath != "sl.pcl.dll" + && filePath != "sl.reflex.dll" + && filePath != "wooting-rgb-sdk.dll" +#endif + ) + { + filePaths.Add(filePath); + } } }