diff --git a/functions/post_update.sh b/functions/post_update.sh index d7176aec..d81fa258 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -434,6 +434,7 @@ post_update() { set_setting_value "$raconf" "libretro_info_path" "/var/config/retroarch/cores" "retroarch" prepare_component "reset" "ruffle" + prepare_component "reset" "shadps4" update_rd_conf # TODO: check this diff --git a/functions/prepare_component.sh b/functions/prepare_component.sh index ac3e47b9..53a45914 100644 --- a/functions/prepare_component.sh +++ b/functions/prepare_component.sh @@ -872,7 +872,16 @@ prepare_component() { if [[ "$action" == "postmove" ]]; then # Run only post-move commands dir_prep "$saves_folder/flash" "/var/data/ruffle/SharedObjects/localhost/$roms_folder/flash" fi + fi + if [[ "$component" =~ ^(gzdoom|all)$ ]]; then + component_found="true" + # This is just a placeholder script to test the emulator's flow + log i "----------------------" + log i "Prepearing SHADPS4" + log i "----------------------" + + # TODO: plceholder fi if [[ $component_found == "false" ]]; then