fix paths on macos

This commit is contained in:
Alex Janka 2021-09-24 12:53:50 +10:00
parent 96686c2667
commit c426113e8f

View file

@ -12,7 +12,7 @@ fn main() {
if file_load.extension().expect("no extension") != "adg" {
return;
}
let mut path_str = String::from(".\\");
let mut path_str = String::from("");
path_str.push_str(file_load.file_stem().unwrap().to_str().unwrap());
path_str.push_str("-live10.adg");
let file_save = PathBuf::from(path_str);