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

refactor: don't raise runtime error on failure getting gh assets #285

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

R1kaB3rN
Copy link
Member

Currently, we were raising a runtime error when we failed to get releases. This wasn't a problem as we pin to a specific Github API version, thus guaranteeing stability of the JSON interface. However, if we ever changed file names to something different (e.g., UMU-Proton9-10.tar.zst), the launcher would crash. In those cases, instead of raising a runtime error, continue to search for Proton in the user's system.

@R1kaB3rN R1kaB3rN changed the title refactor: don't raise runtime error on failure to get releases refactor: don't raise runtime error on failure getting gh assets Nov 24, 2024
@R1kaB3rN R1kaB3rN force-pushed the proton-runtime-error branch from ee1b1b9 to 4a445f7 Compare November 24, 2024 03:50
@R1kaB3rN R1kaB3rN marked this pull request as ready for review November 24, 2024 03:54
@R1kaB3rN R1kaB3rN merged commit 8309ed4 into Open-Wine-Components:main Nov 24, 2024
12 checks passed
@R1kaB3rN R1kaB3rN deleted the proton-runtime-error branch November 24, 2024 03:54
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.

1 participant