mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 01:19:54 +07:00
update: rewrite version after update
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
db5776871e
commit
678cc34e09
@ -31,6 +31,7 @@ function updateLoader() {
|
|||||||
echo -e "Downloading ${TAG}-${ARC_BRANCH} Loader successful!\nUpdating ${ARC_BRANCH} Loader..."
|
echo -e "Downloading ${TAG}-${ARC_BRANCH} Loader successful!\nUpdating ${ARC_BRANCH} Loader..."
|
||||||
if unzip -oq "${TMP_PATH}/update.zip" -d "/mnt"; then
|
if unzip -oq "${TMP_PATH}/update.zip" -d "/mnt"; then
|
||||||
echo "Successful!"
|
echo "Successful!"
|
||||||
|
echo "${TAG}" > "${PART1_PATH}/VERSION"
|
||||||
sleep 2
|
sleep 2
|
||||||
else
|
else
|
||||||
updateFailed
|
updateFailed
|
||||||
|
Loading…
Reference in New Issue
Block a user