Skip to content

Commit 30deb6d

Browse files
committed
Fix argument sequence issue
1 parent f9b2be1 commit 30deb6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Infrastructure/Win32Helper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ public static bool IsAdministrator()
808808
/// Inspired by <see href="https://github.com/jay/RunAsDesktopUser">
809809
/// Document: <see href="https://learn.microsoft.com/en-us/archive/blogs/aaron_margosis/faq-how-do-i-start-a-program-as-the-desktop-user-from-an-elevated-app">
810810
/// </summary>
811-
public static unsafe bool RunAsDesktopUser(string app, string cmdLine, string currentDir, out string errorInfo)
811+
public static unsafe bool RunAsDesktopUser(string app, string currentDir, string cmdLine, out string errorInfo)
812812
{
813813
STARTUPINFOW si = new();
814814
PROCESS_INFORMATION pi = new();

0 commit comments

Comments
 (0)