fix MS auth not working on Windows
This commit is contained in:
parent
f2f2368eff
commit
21c01e07d3
1 changed files with 1 additions and 3 deletions
|
|
@ -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()
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue