mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 07:25:38 +00:00
SHADPS4: added post_update reset and a placeholder resett function [skip ci]
This commit is contained in:
parent
6b0a4d0593
commit
5bf713534c
|
@ -378,6 +378,7 @@ post_update() {
|
|||
# Placeholder for version 0.9.0b
|
||||
|
||||
set_setting_value "$raconf" "libretro_info_path" "/var/config/retroarch/cores" "retroarch"
|
||||
prepare_component "reset" "shadps4"
|
||||
|
||||
# TODO: check this
|
||||
# rm /var/config/emulationstation/.emulationstation # remving the old symlink to .emulationstation as it might be not needed anymore
|
||||
|
|
|
@ -857,6 +857,17 @@ prepare_component() {
|
|||
sed -i 's#RETRODECKSAVESDIR#'$saves_folder'#g' "/var/config/gzdoom/gzdoom.ini" # This is an unfortunate one-off because set_setting_value does not currently support JSON
|
||||
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
|
||||
log e "Supplied component $component not found, not resetting"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue