arc: update make code

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-08-17 21:44:50 +02:00
parent 345fc9a106
commit eb74f7bfed

View File

@ -623,6 +623,12 @@ function arcSummary() {
############################################################################### ###############################################################################
# Building Loader Online # Building Loader Online
function make() { function make() {
# Check for Arc Patch
ARCCONF="$(readConfigKey "${MODEL}.serial" "${S_FILE}" 2>/dev/null)"
if [ -z "${ARCCONF}" ]; then
deleteConfigKey "addons.amepatch" "${USER_CONFIG_FILE}"
deleteConfigKey "addons.sspatch" "${USER_CONFIG_FILE}"
fi
# Read Model Config # Read Model Config
MODEL="$(readConfigKey "model" "${USER_CONFIG_FILE}")" MODEL="$(readConfigKey "model" "${USER_CONFIG_FILE}")"
MODELID="$(readConfigKey "modelid" "${USER_CONFIG_FILE}")" MODELID="$(readConfigKey "modelid" "${USER_CONFIG_FILE}")"