Improve uac dialog path

This commit is contained in:
Jack251970 2025-06-12 15:18:14 +08:00
parent 255ca5ac01
commit 433e0fd0e1

View file

@ -211,7 +211,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
if (Main.IsAdmin && elevated)
{
// Since we are already elevated, we need to create UAC dialog manually
if (UACDialog.Show(IcoPath, Name, FullPath) != MessageBoxResult.Yes)
if (UACDialog.Show(IcoPath, Name, LnkResolvedPath) != MessageBoxResult.Yes)
{
return;
}