mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 12:35:42 +00:00
launch.sh waited up to 90 s for a process named like the program before it waited for the program to end. A program that ends within a second - Steam's install-script evaluator when it has nothing to do - was never seen, so every real evaluator run held the game's start back by 90 s. The wait now also ends when the started Wine process is gone and no program of this prefix is left besides Wine's own services (wineserver, services.exe, winedevice.exe, plugplay.exe, explorer.exe, svchost.exe, rpcss.exe, conhost.exe, start.exe) and this script's window tagger. A launcher that leaves a game running is waited for as before. Only the app's own processes are read. Tested in Android's shell on the Pocket FIT with stand-in processes: program gone -> the wait ends at once; a child still running in the prefix -> the wait goes on until it ends; only the tagger or another prefix's program left -> the wait ends at once.