diff --git a/lua-api-crates/plugin/src/lib.rs b/lua-api-crates/plugin/src/lib.rs index 42639c880..95b80b1c8 100644 --- a/lua-api-crates/plugin/src/lib.rs +++ b/lua-api-crates/plugin/src/lib.rs @@ -35,6 +35,9 @@ fn compute_repo_dir(url: &str) -> String { c => dir.push_str(&format!("u{}", c as u32)), } } + if dir.ends_with("sZs") { + dir.truncate(dir.len() - 3); + } dir }