mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 22:19:52 +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)"
|
||||
# Check for Custom Build
|
||||
SN="$(readConfigKey "sn" "${USER_CONFIG_FILE}")"
|
||||
if [ "${AUTOMATED}" == "true" ] && [ -z "${SN}" ]; then
|
||||
if [ "${AUTOMATED}" == "true" ]; then
|
||||
if [ -n "${ARCCONF}" ]; then
|
||||
SN=$(generateSerial "${MODEL}" "true")
|
||||
writeConfigKey "arc.patch" "true" "${USER_CONFIG_FILE}"
|
||||
|
@ -558,7 +558,6 @@ function updateConfigs() {
|
||||
fi
|
||||
) 2>&1 | dialog --backtitle "$(backtitle)" --title "Update Configs" \
|
||||
--progressbox "Updating Configs..." 20 70
|
||||
writeConfigKey "arc.key" "" "${USER_CONFIG_FILE}"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user