mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-04 05:11:50 +01:00
Tell the tapes the simulator runs only while the starter watches it
The tapes looked for any process named as the chosen exe, every two seconds off the UI thread. Under Wine the process is eu07.exe and never matched, so a run never showed as running and the tape window did not follow the driven vehicle, while a simulator started some other way was taken for the last launch. The starter's own watch of the process it started now says it.
This commit is contained in:
@@ -401,8 +401,6 @@ public class StartSimulationTests
|
||||
public bool OpenInShell(string pathOrUrl) => false;
|
||||
|
||||
public IProcessHandle? FindRunning(string processName) => null;
|
||||
|
||||
public bool IsRunning(string processName) => false;
|
||||
}
|
||||
|
||||
private sealed class RunningProcess : IProcessHandle
|
||||
|
||||
Reference in New Issue
Block a user