aboutsummaryrefslogtreecommitdiff
path: root/export/src/bin/export_project.rs
diff options
context:
space:
mode:
author1992414357@qq.com <1992414357@qq.com>2025-05-29 16:06:11 +0800
committer1992414357@qq.com <1992414357@qq.com>2025-05-29 16:06:11 +0800
commitc9dbba0d288becb7f05cebe526be25c76e5a850a (patch)
treed5a47ccfc439e91f6fd1bfac2712a67e16468e1e /export/src/bin/export_project.rs
parentd1c42b3f4036f101a7a6e46dcf2f065ed1d687f3 (diff)
增加客户端部分
Diffstat (limited to 'export/src/bin/export_project.rs')
-rw-r--r--export/src/bin/export_project.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/export/src/bin/export_project.rs b/export/src/bin/export_project.rs
index f5e34eb..95b3fbe 100644
--- a/export/src/bin/export_project.rs
+++ b/export/src/bin/export_project.rs
@@ -24,6 +24,7 @@ pub struct ReleaseItem {
}
pub fn main() {
+ let version = env!("PROJECT_VERSION");
let root = PathBuf::from(env!("CARGO_MANIFEST_DIR")).parent().unwrap().to_path_buf();
let toml_config = root.join("./Config_Export.toml");
@@ -34,7 +35,7 @@ pub fn main() {
root.join("export");
let export_version_dir =
- export_root.join(env!("PROJECT_VERSION"));
+ export_root.join(version);
let target_dir =
root.join(".cargo").join("shared").join("target").join("release").join("deps");