Skip to content

Commit efd5ee8

Browse files
authored
launch: fix missions on linux (#1044)
1 parent f61f2f2 commit efd5ee8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bin/src/commands/launch/launcher.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,14 @@ impl Launcher {
215215
}
216216

217217
if path.is_file() {
218-
args.push(format!("\"{}\"", path.display()));
218+
if cfg!(windows) {
219+
args.push(format!("\"{}\"", path.display()));
220+
} else {
221+
args.push(format!(
222+
"\"Z:{}\"",
223+
path.display().to_string().replace('/', "\\")
224+
));
225+
}
219226
} else {
220227
report.push(MissionNotFound::code(
221228
mission.to_string(),

0 commit comments

Comments
 (0)