Skip to content

Commit

Permalink
launch: fix launch on linux (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson authored Dec 18, 2024
1 parent 5a3e5b2 commit 3275cff
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions bin/src/commands/launch/launcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,7 @@ impl Launcher {
self.workshop.push({
let mut path = std::env::current_dir()?;
path.push(".hemttout/dev");
if cfg!(target_os = "linux") {
format!("Z:{}", path.display())
} else {
path.display().to_string()
}
path.display().to_string()
});
Ok(())
}
Expand Down Expand Up @@ -319,11 +315,7 @@ impl Launcher {
}

pub fn add_external_mod(&mut self, path: String) {
self.workshop.push(if cfg!(target_os = "linux") {
format!("Z:{path}")
} else {
path
});
self.workshop.push(path);
}

pub fn add_options(&mut self, options: Vec<String>) {
Expand Down

0 comments on commit 3275cff

Please sign in to comment.