Fris0uman / CDDA-Game-Launcher

A Cataclysm: Dark Days Ahead launcher
MIT License
52 stars 2 forks source link

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

Closed Fris0uman closed 6 months ago

Fris0uman commented 7 months ago

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