mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 03:59:53 +07:00
update: don't clean arc key
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
f6a7c0729e
commit
36ecfa5ca2
@ -505,7 +505,7 @@ function arcPatch() {
|
|||||||
ARCCONF="$(readConfigKey "${MODEL}.serial" "${S_FILE}" 2>/dev/null)"
|
ARCCONF="$(readConfigKey "${MODEL}.serial" "${S_FILE}" 2>/dev/null)"
|
||||||
# Check for Custom Build
|
# Check for Custom Build
|
||||||
SN="$(readConfigKey "sn" "${USER_CONFIG_FILE}")"
|
SN="$(readConfigKey "sn" "${USER_CONFIG_FILE}")"
|
||||||
if [ "${AUTOMATED}" == "true" ] && [ -z "${SN}" ]; then
|
if [ "${AUTOMATED}" == "true" ]; then
|
||||||
if [ -n "${ARCCONF}" ]; then
|
if [ -n "${ARCCONF}" ]; then
|
||||||
SN=$(generateSerial "${MODEL}" "true")
|
SN=$(generateSerial "${MODEL}" "true")
|
||||||
writeConfigKey "arc.patch" "true" "${USER_CONFIG_FILE}"
|
writeConfigKey "arc.patch" "true" "${USER_CONFIG_FILE}"
|
||||||
|
@ -558,7 +558,6 @@ function updateConfigs() {
|
|||||||
fi
|
fi
|
||||||
) 2>&1 | dialog --backtitle "$(backtitle)" --title "Update Configs" \
|
) 2>&1 | dialog --backtitle "$(backtitle)" --title "Update Configs" \
|
||||||
--progressbox "Updating Configs..." 20 70
|
--progressbox "Updating Configs..." 20 70
|
||||||
writeConfigKey "arc.key" "" "${USER_CONFIG_FILE}"
|
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user