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.
This fixes the updater to run on Wine 8.0+. The updater would previously fail to download the manifest due to
reqwest
usingnative-tls
by default which was failing under wine when hitting an HTTPS endpoint. Forcingreqwest
to userustls-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.