mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 13:35:39 +00:00
Only perform network availability check
for update check if update checks are enabled
This commit is contained in:
parent
147336ba61
commit
93db40176b
|
@ -170,8 +170,10 @@ desktop_mode_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.
|
||||
if [[ $(check_network_connectivity) == "true" ]] && [[ $update_check == "true" ]]; then
|
||||
check_for_version_update
|
||||
if [[ $update_check == "true" ]]; then
|
||||
if [[ $(check_network_connectivity) == "true" ]]; then
|
||||
check_for_version_update
|
||||
fi
|
||||
fi
|
||||
|
||||
# Normal Startup
|
||||
|
|
Loading…
Reference in a new issue