mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
Added a service check for the NSLGameScanner.service
This commit is contained in:
parent
fe297a5784
commit
e8f6eecca0
@ -1165,10 +1165,14 @@ fi
|
|||||||
|
|
||||||
# Get the command line arguments
|
# Get the command line arguments
|
||||||
args=("$@")
|
args=("$@")
|
||||||
|
|
||||||
# Check if the Stop NSLGameScanner option was passed as a command line argument or clicked in the GUI
|
# 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
|
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
|
rm -rf ${logged_in_home}/.config/systemd/user/NSLGameScanner.py
|
||||||
|
|
||||||
# Delete the service file
|
# Delete the service file
|
||||||
|
Loading…
Reference in New Issue
Block a user