Skip to content

Commit a583658

Browse files
authored
redox: use PATH to find launcher
Redox has moved the launcher from /ui/bin to /usr/bin. Just use the PATH to locate it, so any future changes in location don't break this crate.
1 parent 4a2a5b1 commit a583658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/redox.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::{ffi::OsStr, process::Command};
22

33
pub fn commands<T: AsRef<OsStr>>(path: T) -> Vec<Command> {
4-
let mut cmd = Command::new("/ui/bin/launcher");
4+
let mut cmd = Command::new("launcher");
55
cmd.arg(path.as_ref());
66
vec![cmd]
77
}

0 commit comments

Comments
 (0)