Skip to content

Commit 208bde0

Browse files
committed
Use ExecutableName instead of getting it from path
1 parent 79d195f commit 208bde0

File tree

1 file changed

+1
-1
lines changed
  • Plugins/Flow.Launcher.Plugin.Program/Programs

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Result Result(string query, IPublicAPI api)
4545

4646
var pathMatchResult = new MatchResult(false, 0, new List<int>(), 0);
4747
if (ExecutableName != null) // only lnk program will need this one
48-
pathMatchResult = StringMatcher.FuzzySearch(query, Path.GetFileNameWithoutExtension(FullPath));
48+
pathMatchResult = StringMatcher.FuzzySearch(query, ExecutableName);
4949

5050
MatchResult matchResult = nameMatchResult;
5151

0 commit comments

Comments
 (0)