rednimgames / rose-updater

ROSE Online Updater
MIT License
5 stars 1 forks source link

Fix updater not workin under Wine #3

Closed rminderhoud closed 1 year ago

rminderhoud commented 1 year ago

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 https://github.com/tokio-rs/mio/issues/1444 for more details.

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

Garnet7 commented 1 year ago

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