mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
Added nopython logic for decky
This commit is contained in:
parent
a0ec6cd09f
commit
b3f1cfe346
@ -51,7 +51,14 @@ check_for_updates() {
|
|||||||
# Get the command line arguments
|
# Get the command line arguments
|
||||||
args=("$@")
|
args=("$@")
|
||||||
|
|
||||||
|
for arg in "${args[@]}"; do
|
||||||
|
if [ "$arg" = "NoPython" ]; then
|
||||||
|
nopython=true
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if ["$nopython" = false]; then
|
||||||
|
|
||||||
#Download Modules
|
#Download Modules
|
||||||
# Define the repository and the folders to clone
|
# Define the repository and the folders to clone
|
||||||
@ -160,7 +167,7 @@ else
|
|||||||
echo "env_vars file found. Running the .py file."
|
echo "env_vars file found. Running the .py file."
|
||||||
live="and is LIVE."
|
live="and is LIVE."
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -2757,7 +2764,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
@ -2780,7 +2787,7 @@ curl -o $python_script_path $github_link
|
|||||||
echo "Starting the service..."
|
echo "Starting the service..."
|
||||||
|
|
||||||
python3 $python_script_path
|
python3 $python_script_path
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user