From 68aa64eac371cf1b3695cf4d0047c7053f5166e1 Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Fri, 16 Feb 2024 21:28:16 -0700 Subject: [PATCH] updated inst script for install-extra --- inst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inst b/inst index eafa2a4..25ac34c 100755 --- a/inst +++ b/inst @@ -61,8 +61,6 @@ success() { if [[ $CHOICE == "y" || $CHOICE == "Y" ]]; then save_desktop_entry $NAME $EXECUTABLE fi - - exit 0 } install_c() { @@ -79,7 +77,7 @@ install_python() { # Get the current working directory and the virtual environment CWD=$(pwd) ENV=$(pwd)/bin/activate - COMMAND="python $CWD/$NAME.py" + COMMAND="python $CWD/src/$NAME.py" # Create the virtual environment python -m venv . @@ -218,7 +216,7 @@ check_theme() { install-extra() { if [ -f "install-extra" ]; then echo "Running install-extra..." - sudo ./install-extra + ./install-extra fi } @@ -246,6 +244,7 @@ check_args() { install_dependencies install "$PROJECT_NAME" install-extra + exit 0 fi # User argument provided @@ -271,6 +270,7 @@ check_args() { install_dependencies cd $PROJECT_NAME install-extra + exit 0 fi fi }