add default state for nopython

This commit is contained in:
sysmoon14 2024-03-06 09:52:18 +00:00 committed by GitHub
parent 112477d3a7
commit 61ba9e805e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@ check_for_updates() {
# Get the command line arguments # Get the command line arguments
args=("$@") args=("$@")
nopython=false
for arg in "${args[@]}"; do for arg in "${args[@]}"; do
if [ "$arg" = "NoPython" ]; then if [ "$arg" = "NoPython" ]; then
nopython=true nopython=true
@ -59,7 +59,6 @@ for arg in "${args[@]}"; do
done done
if ["$nopython" = false]; then if ["$nopython" = false]; then
#Download Modules #Download Modules
# Define the repository and the folders to clone # Define the repository and the folders to clone
repo_url='https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck/archive/refs/heads/main.zip' repo_url='https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck/archive/refs/heads/main.zip'
@ -2765,6 +2764,7 @@ fi
if ["$nopython" = false]; then if ["$nopython" = false]; then
#Setup NSLGameScanner.service #Setup NSLGameScanner.service
python_script_path="${logged_in_home}/.config/systemd/user/NSLGameScanner.py" python_script_path="${logged_in_home}/.config/systemd/user/NSLGameScanner.py"