diff --git a/DS4Windows/DS4Control/ControlService.cs b/DS4Windows/DS4Control/ControlService.cs index fe44df7..cb852c1 100644 --- a/DS4Windows/DS4Control/ControlService.cs +++ b/DS4Windows/DS4Control/ControlService.cs @@ -182,8 +182,8 @@ namespace DS4Windows private void DS4Devices_RequestElevation(RequestElevationArgs args) { // Launches an elevated child process to re-enable device - string exeName = Global.exelocation; - ProcessStartInfo startInfo = new ProcessStartInfo(exeName); + ProcessStartInfo startInfo = + new ProcessStartInfo(Global.exelocation); startInfo.Verb = "runas"; startInfo.Arguments = "re-enabledevice " + args.InstanceId;