diff --git a/src/constants.rs b/src/constants.rs index cb9f70d..e5def93 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -482,8 +482,8 @@ pub static VISUALS: Lazy = Lazy::new(|| { warn_fg_color: Color32::from_rgb(255, 143, 0), // orange error_fg_color: Color32::from_rgb(255, 0, 0), // red window_rounding: Rounding::same(6.0), - window_shadow: Shadow::big_dark(), - popup_shadow: Shadow::small_dark(), + // window_shadow: Shadow::big_dark(), + // popup_shadow: Shadow::small_dark(), ..Visuals::dark() } }); diff --git a/src/main.rs b/src/main.rs index 4665ec3..b1e759d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1659,7 +1659,7 @@ impl eframe::App for App { // It incrementally becomes more opaque until [self.alpha] >= 250, when we just switch to pure black (no alpha). // When black, we're safe to [init_text_styles()], and then incrementally go transparent, until we remove the layer. if self.resizing { - egui::Area::new("resize_layer") + egui::Area::new("resize_layer".into()) .order(egui::Order::Foreground) .anchor(egui::Align2::CENTER_CENTER, (0.0, 0.0)) .show(ctx, |ui| { @@ -1693,7 +1693,7 @@ impl eframe::App for App { } }); } else if self.alpha != 0 { - egui::Area::new("resize_layer") + egui::Area::new("resize_layer".into()) .order(egui::Order::Foreground) .anchor(egui::Align2::CENTER_CENTER, (0.0, 0.0)) .show(ctx, |ui| { diff --git a/src/update.rs b/src/update.rs index 53ad41b..b2fe257 100644 --- a/src/update.rs +++ b/src/update.rs @@ -32,8 +32,10 @@ use anyhow::{anyhow, Error}; use arti_client::TorClient; use arti_hyper::*; use hyper::{ + body::Body, + client::Client, header::{HeaderValue, LOCATION}, - Body, Client, Request, + Request, }; use log::*; use rand::distributions::Alphanumeric; @@ -172,7 +174,6 @@ const VALID_P2POOL: [&str; 4] = [ // Some fake Curl/Wget user-agents because GitHub API requires one and a Tor browser // user-agent might be fingerprintable without all the associated headers. const FAKE_USER_AGENT: [&str; 25] = [ - "Wget/1.16.3", "Wget/1.17", "Wget/1.17.1", "Wget/1.18", @@ -192,11 +193,12 @@ const FAKE_USER_AGENT: [&str; 25] = [ "Wget/1.21.2", "Wget/1.21.3", "Wget/1.21.4", - "curl/7.65.3", - "curl/7.66.0", - "curl/7.67.0", - "curl/7.68.0", + "Wget/1.24.5", "curl/8.4.0", + "curl/8.5.0", + "curl/8.6.0", + "curl/8.7.0", + "curl/8.7.1", ]; const MSG_NONE: &str = "No update in progress";