Minor tweak to remove unneeded string

This commit is contained in:
Travis Nickles 2020-02-13 17:18:56 -06:00
parent 20962895b0
commit b24c72f559

View File

@ -182,8 +182,8 @@ namespace DS4Windows
private void DS4Devices_RequestElevation(RequestElevationArgs args) private void DS4Devices_RequestElevation(RequestElevationArgs args)
{ {
// Launches an elevated child process to re-enable device // Launches an elevated child process to re-enable device
string exeName = Global.exelocation; ProcessStartInfo startInfo =
ProcessStartInfo startInfo = new ProcessStartInfo(exeName); new ProcessStartInfo(Global.exelocation);
startInfo.Verb = "runas"; startInfo.Verb = "runas";
startInfo.Arguments = "re-enabledevice " + args.InstanceId; startInfo.Arguments = "re-enabledevice " + args.InstanceId;