arc: remove geoblocking for now <- until the next ... comes around

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-08-19 18:26:23 +02:00
parent b991c9d7f7
commit f8f8950799

View File

@ -608,14 +608,6 @@ function offlineCheck() {
fi
writeConfigKey "arc.nic" "${ARCNIC}" "${USER_CONFIG_FILE}"
writeConfigKey "arc.offline" "${OFFLINE}" "${USER_CONFIG_FILE}"
local BLOCK="$(curl -m 10 -v "http://ip-api.com/line?fields=countryCode" 2>/dev/null | tr '[:upper:]' '[:lower:]')"
if [ "${BLOCK}" == "ua" ]; then
dialog --backtitle "$(backtitle)" --title "Blocked Country" \
--infobox "You are located in a blocked Country and not authorized to use this Loader!" 5 80
rm -rf "${CONFIG_PATH}"
sleep 5
exit 1
fi
}
###############################################################################