diff --git a/files/initrd/opt/arc/arc-functions.sh b/files/initrd/opt/arc/arc-functions.sh index 7f61a193..66b55a5c 100755 --- a/files/initrd/opt/arc/arc-functions.sh +++ b/files/initrd/opt/arc/arc-functions.sh @@ -2295,19 +2295,19 @@ function checkHardwareID() { cp -f "${S_FILE}" "${S_FILE}.bak" if curl -skL "https://arc.auxxxilium.tech?hwid=${HWID}&userid=${USERID}" -o "${S_FILE}" 2>/dev/null; then dialog --backtitle "$(backtitle)" --title "HardwareID" \ - --infobox "HardwareID: ${HWID}\nYour HardwareID is registered to UserID: ${USERID}!" 6 70 + --infobox "HardwareID: ${HWID}\nYour HardwareID is registered to UserID: ${USERID}!" 4 70 writeConfigKey "arc.hwid" "${HWID}" "${USER_CONFIG_FILE}" writeConfigKey "arc.userid" "${USERID}" "${USER_CONFIG_FILE}" else dialog --backtitle "$(backtitle)" --title "HardwareID" \ - --infobox "HardwareID: Your HardwareID couldn't be verified!" 6 50 + --infobox "HardwareID: Your HardwareID couldn't be verified!" 4 50 USERID="" writeConfigKey "arc.hwid" "" "${USER_CONFIG_FILE}" writeConfigKey "arc.userid" "" "${USER_CONFIG_FILE}" fi else dialog --backtitle "$(backtitle)" --title "HardwareID" \ - --infobox "HardwareID: Your HardwareID isn't registered!" 6 50 + --infobox "HardwareID: Your HardwareID isn't registered!" 4 50 USERID="" writeConfigKey "arc.hwid" "" "${USER_CONFIG_FILE}" writeConfigKey "arc.userid" "" "${USER_CONFIG_FILE}" diff --git a/files/initrd/opt/arc/arc.sh b/files/initrd/opt/arc/arc.sh index f2f799d5..e9defb4a 100755 --- a/files/initrd/opt/arc/arc.sh +++ b/files/initrd/opt/arc/arc.sh @@ -89,13 +89,13 @@ function backtitlep() { # Model Selection function arcModel() { STEP="model" - dialog --backtitle "$(backtitlep)" --title "Model" \ - --infobox "Reading Models..." 3 25 - if [ ! -f "${S_FILE}" ] || [ ! -f "${P_FILE}" ]; then + if [ ! -f "${S_FILE}" ] || [ ! -f "${P_FILE}" ]; then updateConfigs fi # Check for Hardware ID checkHardwareID + dialog --backtitle "$(backtitlep)" --title "Model" \ + --infobox "Reading Models..." 3 25 # Loop menu RESTRICT=1 PS="$(readConfigEntriesArray "platforms" "${P_FILE}" | sort)"