mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Force disable global RA rewind on update for preset system
This commit is contained in:
parent
a072ca5e76
commit
07134360aa
|
@ -240,8 +240,10 @@ post_update() {
|
||||||
# - Determine if Steam is installed via normal desktop application / Flatpak / SteamOS TODO
|
# - Determine if Steam is installed via normal desktop application / Flatpak / SteamOS TODO
|
||||||
# - Install RetroDECK controller profile in desired location TODO
|
# - Install RetroDECK controller profile in desired location TODO
|
||||||
# - Change section name in retrodeck.cfg for ABXY button swap preset
|
# - Change section name in retrodeck.cfg for ABXY button swap preset
|
||||||
|
# - Force disable global rewind in RA in prep for preset system
|
||||||
sed -i 's^nintendo_button_layout^abxy_button_swap^' "$rd_conf" # This is a one-off sed statement as there are no functions for replacing section names
|
sed -i 's^nintendo_button_layout^abxy_button_swap^' "$rd_conf" # This is a one-off sed statement as there are no functions for replacing section names
|
||||||
|
set_setting_value "$raconf" "rewind_enable" "false" "retroarch"
|
||||||
|
|
||||||
# in 3.0 .emulationstation was moved into ES-DE
|
# in 3.0 .emulationstation was moved into ES-DE
|
||||||
mv -f /var/config/emulationstation /var/config/ES-DE
|
mv -f /var/config/emulationstation /var/config/ES-DE
|
||||||
mv -f /var/config/ES-DE/.emulationstation/* /var/config/ES-DE
|
mv -f /var/config/ES-DE/.emulationstation/* /var/config/ES-DE
|
||||||
|
|
Loading…
Reference in a new issue