mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Add delay before executing program linked to a profile
This commit is contained in:
parent
b70e145284
commit
112e6ab232
@ -416,6 +416,7 @@ namespace DS4Windows
|
||||
{
|
||||
Task processTask = new Task(() =>
|
||||
{
|
||||
Task.Delay(5000).Wait();
|
||||
System.Diagnostics.Process tempProcess = new System.Diagnostics.Process();
|
||||
tempProcess.StartInfo.FileName = programPath;
|
||||
tempProcess.StartInfo.WorkingDirectory = new FileInfo(programPath).Directory.ToString();
|
||||
|
@ -2324,6 +2324,7 @@ namespace DS4Windows
|
||||
{
|
||||
Task processTask = new Task(() =>
|
||||
{
|
||||
Task.Delay(5000).Wait();
|
||||
System.Diagnostics.Process tempProcess = new System.Diagnostics.Process();
|
||||
tempProcess.StartInfo.FileName = programPath;
|
||||
tempProcess.StartInfo.WorkingDirectory = new FileInfo(programPath).Directory.ToString();
|
||||
|
Loading…
Reference in New Issue
Block a user