-
-
Notifications
You must be signed in to change notification settings - Fork 480
Install legendary prerequisites #3364
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
Install legendary prerequisites #3364
Conversation
the only issue is to move all the setup functions so that they only happen post install or on first run, otherwise the setup functions will constantly run each launch. The way they currently work makes it extremely easy to test, so I will leave it like this for now. |
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.
Looks good! I tested with a few games with and without prerequisites (including ubisoft) and all works fine
I just left some comments and one question
yep! the shlex.split fixes that for rollercoaster tycoon |
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.
Looks good to me!
I only tested on linux, I understand this has no impact on windows.
Also, the only game that really needed the pre-requisites for me was XCOM 2 and that now works out of the box with this change.
For the other games I own it looks like the pre-requisites are not really needed for the games to work (I didn't need the pre-requisites for any other game), but I think it's good to install them anyway, doesn't seem to create any issue anyway.
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.
left a small comment, looks good otherwise.
Installs the prerequisites that legendary gives in the json when installing a game, we can rip out the dedicated ubisoft stuff with this change.
Use the following Checklist if you have changed something on the Backend or Frontend: