summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-24 04:41:19 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-24 04:41:19 +0800
commit2b41209f2b76d4067867be466bdcfed478ff3f39 (patch)
tree7f232e5f468ceb4b40f0c1506a167c4de6236657
parent4c77a05993d40c42ebe78c1d3a72f8049f360982 (diff)
Move setup scripts to scripts/setup directory
-rw-r--r--.gitignore2
-rw-r--r--README.md7
-rw-r--r--README_zh_CN.md7
-rw-r--r--build.rs2
-rw-r--r--scripts/setup/linux/inst.sh (renamed from setup/linux/inst.sh)2
-rw-r--r--scripts/setup/windows/inst.ps1 (renamed from setup/windows/inst.ps1)0
-rw-r--r--scripts/setup/windows/uninst.ps1 (renamed from setup/windows/uninst.ps1)0
7 files changed, 3 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore
index 9cfca26..77d8158 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,7 +22,7 @@
# Generated from templates
/src/data/compile_info.rs
-/setup/windows/setup_jv_cli.iss
+/scripts/setup/windows/setup_jv_cli.iss
_*.rs
# Generated by the build system
diff --git a/README.md b/README.md
index 3fbdf32..736ee62 100644
--- a/README.md
+++ b/README.md
@@ -15,10 +15,3 @@
<img src="https://img.shields.io/badge/Status-Development%20in%20Progress-yellow?style=for-the-badge">
<img src="https://img.shields.io/badge/Release-Not%20Available-lightgrey?style=for-the-badge">
</p>
-
-# Install (From Source Code)
-
-```bash
-# Linux
-curl -s https://raw.githubusercontent.com/JustEnoughVCS/CommandLine/main/setup/linux/inst.sh | bash
-```
diff --git a/README_zh_CN.md b/README_zh_CN.md
index 5fb207c..ed64bd1 100644
--- a/README_zh_CN.md
+++ b/README_zh_CN.md
@@ -15,10 +15,3 @@
<img src="https://img.shields.io/badge/Status-Development%20in%20Progress-yellow?style=for-the-badge">
<img src="https://img.shields.io/badge/Release-Not%20Available-lightgrey?style=for-the-badge">
</p>
-
-# 安装 (从源码编译)
-
-```bash
-# Linux
-curl -s https://raw.githubusercontent.com/JustEnoughVCS/CommandLine/main/setup/linux/inst.sh | bash
-```
diff --git a/build.rs b/build.rs
index 8ee2245..ed427f0 100644
--- a/build.rs
+++ b/build.rs
@@ -10,7 +10,7 @@ const COMPILE_INFO_RS_TEMPLATE: &str = "./templates/compile_info.rs.template";
const COMPILE_INFO_RS: &str = "./src/data/compile_info.rs";
const SETUP_JV_CLI_ISS_TEMPLATE: &str = "./templates/setup_jv_cli.iss.template";
-const SETUP_JV_CLI_ISS: &str = "./setup/windows/setup_jv_cli.iss";
+const SETUP_JV_CLI_ISS: &str = "./scripts/setup/windows/setup_jv_cli.iss";
const REGISTRY_RS_TEMPLATE: &str = "./templates/_registry.rs.template";
const REGISTRY_RS: &str = "./src/systems/cmd/_registry.rs";
diff --git a/setup/linux/inst.sh b/scripts/setup/linux/inst.sh
index 519121b..ec609fc 100644
--- a/setup/linux/inst.sh
+++ b/scripts/setup/linux/inst.sh
@@ -48,7 +48,7 @@ chmod +x setup.sh
echo "Building CLI..."
cd ../CommandLine
chmod +x deploy.sh
-./deploy.sh
+./scripts/dev/deploy.sh
# Configure shell to include CLI in PATH
echo "Now adding JustEnoughVCS CLI to your environment. Please select your target shell:"
diff --git a/setup/windows/inst.ps1 b/scripts/setup/windows/inst.ps1
index 4cb4772..4cb4772 100644
--- a/setup/windows/inst.ps1
+++ b/scripts/setup/windows/inst.ps1
diff --git a/setup/windows/uninst.ps1 b/scripts/setup/windows/uninst.ps1
index d5c898d..d5c898d 100644
--- a/setup/windows/uninst.ps1
+++ b/scripts/setup/windows/uninst.ps1