use nyquest instead of ureq for http client

This commit is contained in:
2025-05-03 13:10:40 +01:00
parent 7f358d9adb
commit 73d610949f
4 changed files with 75 additions and 264 deletions
+2
View File
@@ -33,6 +33,8 @@ fn app_creator(
) -> Result<Box<dyn eframe::App>, Box<dyn std::error::Error + Send + Sync>> {
// use our own panic hook which logs all panics to a file
std::panic::set_hook(Box::new(panic_hook));
// initialize http client (nyquest) for windows
nyquest_backend_winrt::register();
// initialize App early to modify some things before returning it
let mut app = Box::<App>::default();
// load previously selected launch platform & settings from persistent state