mirror of
https://github.com/italicsjenga/ableton-rack-converter.git
synced 2024-11-22 15:11:30 +11:00
fix paths on macos
This commit is contained in:
parent
96686c2667
commit
c426113e8f
|
@ -12,7 +12,7 @@ fn main() {
|
||||||
if file_load.extension().expect("no extension") != "adg" {
|
if file_load.extension().expect("no extension") != "adg" {
|
||||||
return;
|
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(file_load.file_stem().unwrap().to_str().unwrap());
|
||||||
path_str.push_str("-live10.adg");
|
path_str.push_str("-live10.adg");
|
||||||
let file_save = PathBuf::from(path_str);
|
let file_save = PathBuf::from(path_str);
|
||||||
|
|
Loading…
Reference in a new issue