mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Fix "startup wox on window start" issue.
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Wox.Infrastructure
|
||||
Debug.WriteLine(args);
|
||||
var psi = new ProcessStartInfo
|
||||
{
|
||||
FileName = Path.Combine(Directory.GetCurrentDirectory(), "Wox.UAC.exe"),
|
||||
FileName = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Wox.UAC.exe"),
|
||||
Arguments = args,
|
||||
CreateNoWindow = true,
|
||||
Verb = "runas"
|
||||
|
||||
Reference in New Issue
Block a user