feat: add dcrup (sh/ps1/cmd) and fix cross-platform unit tests

This commit is contained in:
2026-07-23 14:58:49 +08:00
parent 2446cb7970
commit 75eace9d73
10 changed files with 1129 additions and 61 deletions

View File

@@ -950,7 +950,8 @@ fn absolutize_flag_path(flag: &str, project_root: &Path, prefixes: &[&str]) -> S
return flag.to_string();
}
let abs = project_root.join(rest);
return format!("{prefix}{}", abs.to_string_lossy());
let path = abs.to_string_lossy().replace('\\', "/");
return format!("{prefix}{path}");
}
}
flag.to_string()