fix for paths on Windows

This commit is contained in:
liquidex 2023-09-04 11:17:51 +02:00
parent 0a08b4a13c
commit 8872a1739b

View file

@ -136,7 +136,7 @@ impl Generator {
continue;
}
};
let tree_path = tree_path.with_extension("").to_string_lossy().into_owned();
let tree_path = tree_path.with_extension("").to_string_lossy().replace('\\', "/");
let file_id =
treehouse.add_file(utf8_filename.into_owned(), Some(tree_path.clone()), source);