fix MS auth not working on Windows

This commit is contained in:
Julian Chang 2026-07-06 09:23:30 -04:00
parent f2f2368eff
commit 21c01e07d3
No known key found for this signature in database

View file

@ -11,9 +11,7 @@ pub fn open_url(url: &str) {
}
#[cfg(target_os = "windows")]
{
std::process::Command::new("cmd")
.args(["/C", "start", "", url])
.spawn()
std::process::Command::new("explorer").arg(url).spawn()
}
};