mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
SteamGame.IsRunning now works correctly
Changed from using the Steam 'Running' Registry Key to using an actual Process detection method. Now works reliably and waits as expected!
This commit is contained in:
@ -679,6 +679,9 @@ namespace HeliosPlus
|
||||
}*/
|
||||
|
||||
// Wait for the game to exit
|
||||
|
||||
|
||||
|
||||
if (steamGameToRun.IsRunning)
|
||||
{
|
||||
while (true)
|
||||
@ -690,6 +693,7 @@ namespace HeliosPlus
|
||||
|
||||
Thread.Sleep(300);
|
||||
}
|
||||
Console.WriteLine($"{steamGameToRun.GameName} has been exited. Now continuing with cleanup tasks.");
|
||||
}
|
||||
|
||||
// Remove the status notification icon from the status area
|
||||
|
Reference in New Issue
Block a user