launcher: the Microsoft sign-in's User-Agent says the built-in version too

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-14 22:18:31 +02:00
parent 76f3e7c2a8
commit 98ca844f07
+1 -1
View File
@@ -56,7 +56,7 @@ impl Endpoints {
fn agent() -> ureq::Agent {
ureq::AgentBuilder::new()
.timeout(Duration::from_secs(20))
.user_agent(concat!("horizon-launcher/", env!("CARGO_PKG_VERSION")))
.user_agent(&format!("horizon-launcher/{}", crate::backend::VERSION))
.build()
}