upgrade user agent

This commit is contained in:
nyyu 2021-11-01 08:36:06 +01:00
parent 9bb60ea5f6
commit 23362b806b

View file

@ -48,7 +48,7 @@ pub struct ChampInfo {
} }
const USER_AGENT_VALUE: &str = const USER_AGENT_VALUE: &str =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0"; "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0";
const DEFAULT_LOL_CHAMPS_DIR: &str = ".\\champs"; const DEFAULT_LOL_CHAMPS_DIR: &str = ".\\champs";
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
const REG_KEY_LOL_RADS: &str = r"SOFTWARE\WOW6432Node\Riot Games\RADS"; const REG_KEY_LOL_RADS: &str = r"SOFTWARE\WOW6432Node\Riot Games\RADS";