diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 8a4ec49..1688ff3 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -1165,10 +1165,14 @@ fi # Get the command line arguments args=("$@") + # Check if the Stop NSLGameScanner option was passed as a command line argument or clicked in the GUI if [[ " ${args[@]} " =~ " Stop NSLGameScanner " ]] || [[ $options == "Stop NSLGameScanner" ]]; then - #Delete the NSLGameScanner.py + # Stop the service + systemctl --user stop nslgamescanner.service + + # Delete the NSLGameScanner.py rm -rf ${logged_in_home}/.config/systemd/user/NSLGameScanner.py # Delete the service file