From 9dd5940c8ca41803a1cf3da494cf3c76b9472d22 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Thu, 18 Aug 2022 10:59:00 -0600 Subject: [PATCH] Remove trailing wild --- Source/LibationFileManager/InteropFactory.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/LibationFileManager/InteropFactory.cs b/Source/LibationFileManager/InteropFactory.cs index 81d2c15c..397b5cf0 100644 --- a/Source/LibationFileManager/InteropFactory.cs +++ b/Source/LibationFileManager/InteropFactory.cs @@ -48,7 +48,6 @@ namespace LibationFileManager #if DEBUG - // runs the exe and gets the exe's loaded modules ModuleList = LoadModuleList(Path.GetFileNameWithoutExtension(configApp)) .OrderBy(x => x.ModuleName) @@ -69,7 +68,7 @@ namespace LibationFileManager // find '*ConfigApp.exe' files var appName = - Directory.EnumerateFiles(here, $"*{CONFIG_APP_ENDING}*", SearchOption.TopDirectoryOnly) + Directory.EnumerateFiles(here, $"*{CONFIG_APP_ENDING}", SearchOption.TopDirectoryOnly) // sanity check. shouldn't ever be true .Except(new[] { Environment.ProcessPath }) .FirstOrDefault(exe => MatchesOS(exe));