mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 14:03:42 +02:00
Clippy fixes for windows specific code (#319)
* Clippy fixes for windows specific code * Remove unwraps in windows code * Fix compile error on unix
This commit is contained in:
@@ -33,7 +33,7 @@ pub fn ensure_steam_started(settings: &super::SteamSettings) {
|
||||
let folder = super::get_steam_path(settings);
|
||||
if let Ok(folder) = folder {
|
||||
let path = std::path::Path::new(&folder).join(steam_name);
|
||||
let mut command = Command::new(&path);
|
||||
let mut command = Command::new(path);
|
||||
if let Err(e) = command.spawn() {
|
||||
println!("Failed to start steam: {:?}", e);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user