don't show steam launch step on windows OS
This commit is contained in:
parent
67d55d1175
commit
a910f2a19e
1 changed files with 8 additions and 1 deletions
|
@ -40,5 +40,12 @@ pub async fn remove(game_path: String) -> Result<(), RemoveErr> {
|
|||
}
|
||||
}
|
||||
|
||||
return Err(RemoveErr::LaunchOptionNotRemoved);
|
||||
match std::env::consts::OS {
|
||||
"macos" | "linux" => {
|
||||
return Err(RemoveErr::LaunchOptionNotRemoved);
|
||||
}
|
||||
_ => {
|
||||
return Ok(());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue