aboutsummaryrefslogtreecommitdiff
path: root/export/src/bin
diff options
context:
space:
mode:
author1992414357@qq.com <1992414357@qq.com>2025-06-13 22:33:53 +0800
committer1992414357@qq.com <1992414357@qq.com>2025-06-13 22:33:53 +0800
commit22ccd970a4ea47edd39abe8662805d8137083253 (patch)
tree2561d7131c57a632de0943437c7b6fa739eb8321 /export/src/bin
parent83c6fc2d55cdd7de949f2815b86dfe0b9cc18f27 (diff)
.
Diffstat (limited to 'export/src/bin')
-rw-r--r--export/src/bin/export_project.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/export/src/bin/export_project.rs b/export/src/bin/export_project.rs
index 6c6eaaf..b83e54b 100644
--- a/export/src/bin/export_project.rs
+++ b/export/src/bin/export_project.rs
@@ -29,7 +29,7 @@ pub fn main() {
let version = if let Some(v) = args.get(1) { v.to_string() } else { env!("PROJECT_VERSION").to_string() };
let root = PathBuf::from(env!("CARGO_MANIFEST_DIR")).parent().unwrap().to_path_buf();
- let toml_config = root.join("../../../Project_Export.toml");
+ let toml_config = root.join("./Project_Export.toml");
let config: Config = toml::from_str(fs::read_to_string(toml_config).unwrap().as_str())
.expect("Failed to parse TOML");
@@ -48,14 +48,14 @@ pub fn main() {
let _ = remove_dir_all(&export_version_dir);
for data in config.release.root {
- println!("Releasing \"{}\" files", data.0);
+ println!("Releasing \"{}\"", data.0);
let raw_path = root.join(data.1.raw);
let target_path = export_version_dir.join(data.1.target);
copy_files(&raw_path, &target_path, data.1.files);
}
for data in config.release.deps {
- println!("Releasing \"{}\" files", data.0);
+ println!("Releasing \"{}\"", data.0);
let raw_path = target_dir.join(data.1.raw);
let target_path = export_version_dir.join(data.1.target);
copy_files(&raw_path, &target_path, data.1.files);