mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 02:19:54 +07:00
arc-functions: add sanity check
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
cb3611b88a
commit
44316e5083
@ -739,6 +739,8 @@ function backupMenu() {
|
||||
writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}"
|
||||
done < <(getAllModules "${PLATFORM}" "${KVERP}")
|
||||
fi
|
||||
CONFHASHFILE="$(sha256sum "${S_FILE}" | awk '{print $1}')"
|
||||
writeConfigKey "arc.confhash" "${CONFHASHFILE}" "${USER_CONFIG_FILE}"
|
||||
dialog --backtitle "$(backtitle)" --title "Restore Arc Config" \
|
||||
--aspect 18 --msgbox "Config restore successful!\nDownloading necessary files..." 0 0
|
||||
sleep 2
|
||||
|
Loading…
Reference in New Issue
Block a user