mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2026-06-13 04:04:59 +03:00
Update NonSteamLaunchers.sh
This commit is contained in:
@@ -4369,16 +4369,15 @@ rm -rf "$download_dir"
|
|||||||
|
|
||||||
echo "Script completed successfully."
|
echo "Script completed successfully."
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Check if the symlink exists
|
||||||
if [ -L "${logged_in_home}/.config/systemd/user/default.target.wants/nslgamescanner.service" ]; then
|
if [ -L "${logged_in_home}/.config/systemd/user/default.target.wants/nslgamescanner.service" ]; then
|
||||||
if [ "${NSL_SCAN_STATE}" = "ON" ]; then
|
# Symlink exists, show message
|
||||||
show_message "Script finished. The NSL Game Scanner is currently active and scanning."
|
show_message "Script finished...and the NSLGamesScanner is actively scanning!"
|
||||||
elif [ "${NSL_SCAN_STATE}" = "MANUAL" ]; then
|
|
||||||
show_message "Script finished. The NSL Game Scanner is set to MANUAL. Please press Scan to start manually."
|
|
||||||
elif [ "${NSL_SCAN_STATE}" = "OFF" ]; then
|
|
||||||
show_message "Script finished. The NSL Game Scanner is currently turned OFF."
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
show_message "Script finished. The NSL Game Scanner is currently turned OFF."
|
# Symlink does not exist
|
||||||
|
echo "Symlink does not exist."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user