Skip to content

Commit a18efb4

Browse files
committed
fix: misc update
1 parent 30302fe commit a18efb4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

garlicos-updater.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ echo "# Downloading update package"
1313
wget -O garlicOS.7z "$garlicOsDownloadPath" || exit
1414
7z x garlicOS.7z || exit
1515

16+
echo "# Updating misc"
17+
adb shell mount -o rw,remount /misc
18+
adb -s "$adbDeviceId" push --sync misc/* /misc/ || exit
19+
1620
echo "# Updating cfw"
1721
adb -s "$adbDeviceId" shell cp -v /mnt/mmc/CFW/retroarch/.retroarch/retroarch.cfg /mnt/mmc/CFW/retroarch/.retroarch/current_retroarch.cfg || exit
1822
adb -s "$adbDeviceId" push --sync roms/CFW /mnt/mmc/ || exit
@@ -40,10 +44,6 @@ if [[ -v saveDir ]]; then
4044
fi
4145
fi
4246

43-
echo "# Updating misc"
44-
mount -o rw,remount /misc
45-
adb -s "$adbDeviceId" shell cp -Rv misc/* /misc/ || exit
46-
4747
echo "# End"
4848

4949

0 commit comments

Comments
 (0)