Only perform network availability check

for update check if update checks are enabled
This commit is contained in:
icenine451 2023-06-08 13:52:19 -04:00
parent 147336ba61
commit 93db40176b

View file

@ -170,9 +170,11 @@ desktop_mode_warning
low_space_warning low_space_warning
# Check if there is a new version of RetroDECK available, if update_check=true in retrodeck.cfg and there is network connectivity available. # Check if there is a new version of RetroDECK available, if update_check=true in retrodeck.cfg and there is network connectivity available.
if [[ $(check_network_connectivity) == "true" ]] && [[ $update_check == "true" ]]; then if [[ $update_check == "true" ]]; then
if [[ $(check_network_connectivity) == "true" ]]; then
check_for_version_update check_for_version_update
fi fi
fi
# Normal Startup # Normal Startup