If I made a daemon for legendary that autoupdates games, could it work like this? #442
Unanswered
RocketHog55
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If a player requests from a GUI to uninstall a game that is currently being autoupdated, could the update be "cancelled" safely by killing the download worker processes (with --multiprocessing-fork flags)? I tried this manually in task manager and it makes legendary think the install/update completed successfully, which isn't actually true, but should be fine since the game would be uninstalled right after anyway. It's kind of the only way to do it cleanly AFAIK since I can't send a Ctrl-C event to the main legendary process doing the update with no console window (on Windows at least).
Also, to prevent game installs/updates from happening while playing a game (especially an online game), would it be fine to suspend the download workers with psutil's suspend() method, then resume them with resume() after the game exits? It seems to work, but could there be any possible issues with doing that?
Beta Was this translation helpful? Give feedback.
All reactions