update: rewrite version after update

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-10-24 19:28:44 +02:00
parent db5776871e
commit 678cc34e09

View File

@ -31,6 +31,7 @@ function updateLoader() {
echo -e "Downloading ${TAG}-${ARC_BRANCH} Loader successful!\nUpdating ${ARC_BRANCH} Loader..."
if unzip -oq "${TMP_PATH}/update.zip" -d "/mnt"; then
echo "Successful!"
echo "${TAG}" > "${PART1_PATH}/VERSION"
sleep 2
else
updateFailed