From 4362482fbac5876519156eb9dc0ff412f2239bac Mon Sep 17 00:00:00 2001 From: x3nom Date: Tue, 17 Dec 2024 18:00:49 +0100 Subject: [PATCH] update install.sh --- install.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5be86a4..fe4bc2d 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,10 @@ #!/bin/bash +# ensure python dependencies are installed +pip3 install -r requirements.txt + + + TARGET_DIR="$HOME/.local/bin" SRC_PATH="./src/testcase-tools.py" @@ -15,6 +20,8 @@ cp "$SRC_PATH" "$TARGET_DIR/$NAME" # Ensure the script is executable chmod +x "$TARGET_DIR/$NAME" -echo "Installation complete! Make sure $TARGET_DIR is in your PATH." + +printf "\n\033[1;32mInstallation complete!\033[0m\n" +echo "Make sure $TARGET_DIR is in your PATH." echo "If it's not, add following to your .bashrc/.zshrc:" -echo " export PATH=\"\$HOME/.local/bin:\$PATH\"" \ No newline at end of file +printf "\033[3mexport PATH=\"$TARGET_DIR:\$PATH\"\033[0m\n" \ No newline at end of file