diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-11-23 14:28:32 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-11-23 14:28:32 +0800 |
| commit | a9c42df3fdcd6944759c0db9520963630df6c7ef (patch) | |
| tree | 6e12fa71320a900257b7aec1ee67f3a8fe347f4f | |
| parent | fb5e46fa51896a567c82f0bce5b0e4b6d1c5ff04 (diff) | |
Fix CLI installation path after cargo export rename
| -rw-r--r-- | scripts/inst.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/inst.sh b/scripts/inst.sh index 5e853b6..bbebeb8 100644 --- a/scripts/inst.sh +++ b/scripts/inst.sh @@ -48,7 +48,7 @@ chmod +x setup.sh echo "Building CLI..." cd ../CommandLine cargo build --release -cargo pub +cargo export # Configure shell to include CLI in PATH echo "Now adding JustEnoughVCS CLI to your environment. Please select your target shell:" @@ -80,7 +80,7 @@ case $choice in ;; esac -cli_path="$(pwd)/.temp/publish/cli.sh" +cli_path="$(pwd)/export/jv_cli.sh" echo "# JustEnoughVCS CLI" >> "$config_file" echo "source \"$cli_path\"" >> "$config_file" echo "CLI has been added to $config_file" |
