Added nopython logic for decky

This commit is contained in:
sysmoon14 2024-03-06 09:40:33 +00:00 committed by GitHub
parent a0ec6cd09f
commit b3f1cfe346
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,14 @@ check_for_updates() {
# Get the command line arguments
args=("$@")
for arg in "${args[@]}"; do
if [ "$arg" = "NoPython" ]; then
nopython=true
break
fi
done
if ["$nopython" = false]; then
#Download Modules
# Define the repository and the folders to clone
@ -160,7 +167,7 @@ else
echo "env_vars file found. Running the .py file."
live="and is LIVE."
fi
fi
@ -2757,7 +2764,7 @@ fi
if ["$nopython" = false]; then
#Setup NSLGameScanner.service
python_script_path="${logged_in_home}/.config/systemd/user/NSLGameScanner.py"
@ -2780,7 +2787,7 @@ curl -o $python_script_path $github_link
echo "Starting the service..."
python3 $python_script_path
fi