mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use ExecutableName instead of getting it from path
This commit is contained in:
parent
79d195f7e6
commit
208bde0f99
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
|||
|
||||
var pathMatchResult = new MatchResult(false, 0, new List<int>(), 0);
|
||||
if (ExecutableName != null) // only lnk program will need this one
|
||||
pathMatchResult = StringMatcher.FuzzySearch(query, Path.GetFileNameWithoutExtension(FullPath));
|
||||
pathMatchResult = StringMatcher.FuzzySearch(query, ExecutableName);
|
||||
|
||||
MatchResult matchResult = nameMatchResult;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue