-
-
Notifications
You must be signed in to change notification settings - Fork 480
[FIX] Reload library after GOG game install #3520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Maybe let's avoid refreshing the library after redistributables are downloaded. That could potentially create a race condition if the game were to download fast enough |
can you elaborate? not sure what's the possible issue is the backend sending 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
I think it is fine because we only start the redistributable after the game install is completed. On windows will be no prefix, but I still think will be fine. |
Currently if the game has redistributables that need to be downloaded it's being handled before the game installation. That will cause the refresh, and if the game installation finishes during that refresh we get ourselves cool race condition. |
I'm still not sure I understand how the redistributables would trigger a refresh of the library are you saying that the redistributables installation would trigger that anyway, I'd rather not push a |
do you have examples that we could try? |
Okay, my bad it doesn't trigger this refresh. However
|
I'm going to merge this one I can also reproduce that other refresh but I can't really find where that's happening and it seems unrelated to this change (would be nice to prevent that refresh but shouldn't be a blocker for this) |
After installing a GOG game, the library is not updated with the new status.
We need to trigger a library refresh.
How to test:
With this change:
Use the following Checklist if you have changed something on the Backend or Frontend: