Skip to content

Commit

Permalink
Updater: restore PortMaster squashfs images
Browse files Browse the repository at this point in the history
  • Loading branch information
cizia64 committed Jul 16, 2024
1 parent 22e7ca9 commit 718a61f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion Apps/PortMaster/PortMaster/control.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ get_controls() {
-c "0,0,0" \
-t "Launching $PM_PORTNAME" &

sleep 0.5
pkill -f sdl2imgshow
}

Expand Down
4 changes: 0 additions & 4 deletions System/bin/ex_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ if [ ! -f /roms/ports/PortMaster/control.txt ] && [ -f /mnt/SDCARD/Apps/PortMast
cp /mnt/SDCARD/Apps/PortMaster/PortMaster/control.txt /roms/ports/PortMaster/control.txt
fi

if [ -f /mnt/SDCARD/Apps/launch.sh ]; then
# Fix launcher
mv -fv /mnt/SDCARD/Apps/launch.sh /mnt/SDCARD/Apps/PortMaster/launch.sh
fi

if [ -f "/mnt/SDCARD/Apps/PortMaster/PortMaster/.trimui-refresh" ]; then
rm -f "/mnt/SDCARD/Apps/PortMaster/PortMaster/.trimui-refresh"
Expand Down
8 changes: 5 additions & 3 deletions System/usr/trimui/scripts/crossmix_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ sync
echo "=========================================================================================="
echo " ============== Decompressing new CrossMix archive, please wait... =============="
# Install CrossMix new version
echo "CrossMix arhive decompression lasts at least 4 minutes"
echo "CrossMix archive decompression lasts at least 4 minutes."
echo -e "\n\n !!!!!! Please be patient !!!!!! \n\n"
/tmp/7zz x -aoa "$UPDATE_FILE" -o"/mnt/SDCARD"
sync

Expand Down Expand Up @@ -192,9 +193,10 @@ restore_files "Drastic saves" "$BCK_DIR/Emus/NDS/drastic/backu
restore_files "Drastic savestates" "$BCK_DIR/Emus/NDS/drastic/savestates/" "/mnt/SDCARD/Emus/NDS/drastic/savestates/" "*"

# Restore previous recordings
restore_files "Video recordings" "$BCK_DIR/Apps/ScreenRecorder/output/" "/mnt/SDCARD/Apps/ScreenRecorder/output/" "*.mp4"

restore_files "Video recordings" "$BCK_DIR/Apps/ScreenRecorder/output/" "/mnt/SDCARD/Apps/ScreenRecorder/output/" "*.mp4"

# Restore PortMaster squashfs images
restore_files "PortMaster squashfs images" "$BCK_DIR/Apps/PortMaster/PortMaster/libs/" "/mnt/SDCARD/Apps/PortMaster/PortMaster/libs/" "*"



Expand Down

0 comments on commit 718a61f

Please sign in to comment.