mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Added Uplay to RunShortcut
HeliosPlus now runs Uplay Games and correctly waits until they have exited before changing back. It won't wait for Uplay updates however, as I really don't know how Uplay marks things as being updated. So I don't know how to look for the updates occurring!
This commit is contained in:
@ -731,7 +731,7 @@ namespace HeliosPlus
|
||||
}
|
||||
|
||||
// Start the URI Handler to run Uplay
|
||||
Console.WriteLine($"Starting Steam Game: {uplayGameToRun.Name}");
|
||||
Console.WriteLine($"Starting Uplay Game: {uplayGameToRun.Name}");
|
||||
var uplayProcess = Process.Start(address);
|
||||
|
||||
// Wait for Steam game to update if needed
|
||||
@ -745,10 +745,10 @@ namespace HeliosPlus
|
||||
|
||||
Thread.Sleep(300);
|
||||
|
||||
if (!uplayGameToRun.IsUpdating)
|
||||
/*if (!uplayGameToRun.IsUpdating)
|
||||
{
|
||||
ticks += 300;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
// Store the Steam Process ID for later
|
||||
|
Reference in New Issue
Block a user