Skip to content

Commit fb4735f

Browse files
committed
Fix program deelevate open issue
1 parent 30deb6d commit fb4735f

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
@@ -217,7 +217,7 @@ private void Launch(bool elevated = false)
217217
}
218218
}
219219

220-
_ = Task.Run(() => Main.Context.API.StartProcess(FullPath, ParentDirectory, "", elevated)).ConfigureAwait(false);
220+
_ = Task.Run(() => Main.Context.API.StartProcess(LnkResolvedPath, runAsAdmin:elevated)).ConfigureAwait(false);
221221
}
222222

223223
public List<Result> ContextMenus(IPublicAPI api)

0 commit comments

Comments
 (0)