Skip to content
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

Don't ask user to select build type, grab them all #69

Merged
merged 3 commits into from
Apr 15, 2024
Merged

Conversation

Fris0uman
Copy link
Owner

@Fris0uman Fris0uman commented Mar 9, 2024

Fixes #67
When one of the build type is unavailable the launcher doesn't communicate clearly what's going on and user might fail to switch build type to fix the issue

Fixes #68
When all build of one types are unavailable the launcher will let you try to get one anyway which leads to an un unclear error

This Pr aims to fix both error by having the launcher automatically switch to the other build type if enough builds are unavailable
Actually we never needed to let user select the build type in the first place, let's just get rid of the option and grab all the available builds. This should solve the issue by always showing the available builds (msvc or other) if they exists.

If all builds fail for both other and msvc for a 100 build happens in the future we can revisit this and add something to tell players it's not the launcher's fault

@Fris0uman Fris0uman marked this pull request as ready for review April 15, 2024 18:17
@Fris0uman Fris0uman marked this pull request as draft April 15, 2024 18:28
@Fris0uman Fris0uman changed the title Switch build type automatically when one is unavailable Don't ask user to select build type, grab them all Apr 15, 2024
@Fris0uman Fris0uman marked this pull request as ready for review April 15, 2024 19:20
@Fris0uman Fris0uman merged commit 8f5d9b9 into main Apr 15, 2024
@Fris0uman Fris0uman deleted the error_comm branch April 15, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Errno 2] Latest builds are unavailable
1 participant