Skip to content

Fix updater not workin under Wine #3

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

Merged
merged 2 commits into from
Apr 21, 2023
Merged

Fix updater not workin under Wine #3

merged 2 commits into from
Apr 21, 2023

Conversation

rminderhoud
Copy link
Contributor

This fixes the updater to run on Wine 8.0+. The updater would previously fail to download the manifest due to reqwest using native-tls by default which was failing under wine when hitting an HTTPS endpoint. Forcing reqwest to use rustls-tls instead resolve the issue.

Wine versions <8.0 are still broken/unsupported due to a bug in Wine triggered by mio, see tokio-rs/mio#1444 for more details.

Additionally, rustfmt was reapplied to the source code and most clippy warnings were resolved.

@rminderhoud rminderhoud requested review from L3nn0x and Garnet7 April 20, 2023 19:26
@Garnet7
Copy link

Garnet7 commented Apr 20, 2023

Tried on Lutris with System 8 from Steam Deck it's finally updating!

@rminderhoud rminderhoud removed the request for review from L3nn0x April 21, 2023 00:23
@rminderhoud rminderhoud merged commit 6e6ba8f into main Apr 21, 2023
@L3nn0x L3nn0x deleted the ralph/linux branch April 21, 2023 09:14
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.

2 participants