mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Minor tweak
This commit is contained in:
parent
112e6ab232
commit
e88f19ff1f
@ -416,7 +416,7 @@ namespace DS4Windows
|
|||||||
{
|
{
|
||||||
Task processTask = new Task(() =>
|
Task processTask = new Task(() =>
|
||||||
{
|
{
|
||||||
Task.Delay(5000).Wait();
|
Thread.Sleep(5000);
|
||||||
System.Diagnostics.Process tempProcess = new System.Diagnostics.Process();
|
System.Diagnostics.Process tempProcess = new System.Diagnostics.Process();
|
||||||
tempProcess.StartInfo.FileName = programPath;
|
tempProcess.StartInfo.FileName = programPath;
|
||||||
tempProcess.StartInfo.WorkingDirectory = new FileInfo(programPath).Directory.ToString();
|
tempProcess.StartInfo.WorkingDirectory = new FileInfo(programPath).Directory.ToString();
|
||||||
|
@ -8,6 +8,7 @@ using System.Xml;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
using System.Security.Principal;
|
using System.Security.Principal;
|
||||||
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace DS4Windows
|
namespace DS4Windows
|
||||||
@ -2324,7 +2325,7 @@ namespace DS4Windows
|
|||||||
{
|
{
|
||||||
Task processTask = new Task(() =>
|
Task processTask = new Task(() =>
|
||||||
{
|
{
|
||||||
Task.Delay(5000).Wait();
|
Thread.Sleep(5000);
|
||||||
System.Diagnostics.Process tempProcess = new System.Diagnostics.Process();
|
System.Diagnostics.Process tempProcess = new System.Diagnostics.Process();
|
||||||
tempProcess.StartInfo.FileName = programPath;
|
tempProcess.StartInfo.FileName = programPath;
|
||||||
tempProcess.StartInfo.WorkingDirectory = new FileInfo(programPath).Directory.ToString();
|
tempProcess.StartInfo.WorkingDirectory = new FileInfo(programPath).Directory.ToString();
|
||||||
|
Loading…
Reference in New Issue
Block a user