From b52dbbea53e7181e4eef49aeccbe7d3ab5de7d6e Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Wed, 19 Aug 2020 21:02:46 +1000 Subject: [PATCH] launch win32 lnk programs using LnkResolvedPath use LnkResolvedPath which is the original lnk path, rather than using the FullPath property which is assigned with the path to the actual exe --- Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs b/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs index f9fcc0897..f0de9f2c2 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs @@ -54,7 +54,7 @@ namespace Flow.Launcher.Plugin.Program.Programs var result = new Result { - SubTitle = FullPath, + SubTitle = LnkResolvedPath ?? FullPath, IcoPath = IcoPath, Score = score, ContextData = this, @@ -62,7 +62,7 @@ namespace Flow.Launcher.Plugin.Program.Programs { var info = new ProcessStartInfo { - FileName = FullPath, + FileName = LnkResolvedPath ?? FullPath, WorkingDirectory = ParentDirectory, UseShellExecute = true };