From a9c42df3fdcd6944759c0db9520963630df6c7ef Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 23 Nov 2025 14:28:32 +0800 Subject: Fix CLI installation path after cargo export rename --- scripts/inst.sh | 4 ++-- 1 file 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" -- cgit