arc: fix register hwid

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-12-27 15:05:20 +01:00
parent b82c840e04
commit 9849dc2ecc

View File

@@ -2414,6 +2414,7 @@ function genHardwareID() {
writeConfigKey "arc.hardwareid" "${HWID}" "${USER_CONFIG_FILE}"
writeConfigKey "arc.userid" "${USERID}" "${USER_CONFIG_FILE}"
writeConfigKey "bootscreen.hwidinfo" "true" "${USER_CONFIG_FILE}"
USERID="$(readConfigKey "arc.userid" "${USER_CONFIG_FILE}")"
break
else
dialog --backtitle "$(backtitle)" --title "HardwareID" \
@@ -2422,6 +2423,8 @@ function genHardwareID() {
writeConfigKey "arc.hardwareid" "" "${USER_CONFIG_FILE}"
writeConfigKey "arc.userid" "" "${USER_CONFIG_FILE}"
writeConfigKey "bootscreen.hwidinfo" "false" "${USER_CONFIG_FILE}"
USERID=""
continue
fi
done
return