mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
POST_UPDATE: fixed a bug where retrodeck.cfg was not updated at every version
This commit is contained in:
parent
5be1710385
commit
5e01843161
|
@ -5,6 +5,8 @@ post_update() {
|
||||||
# post update script
|
# post update script
|
||||||
log i "Executing post-update script"
|
log i "Executing post-update script"
|
||||||
|
|
||||||
|
update_rd_conf
|
||||||
|
|
||||||
if [[ $(check_version_is_older_than "0.5.0b") == "true" ]]; then # If updating from prior to save sorting change at 0.5.0b
|
if [[ $(check_version_is_older_than "0.5.0b") == "true" ]]; then # If updating from prior to save sorting change at 0.5.0b
|
||||||
log d "Version is older than 0.5.0b, executing save migration"
|
log d "Version is older than 0.5.0b, executing save migration"
|
||||||
save_migration
|
save_migration
|
||||||
|
@ -527,7 +529,6 @@ post_update() {
|
||||||
log i "New components were added in this version, initializing them"
|
log i "New components were added in this version, initializing them"
|
||||||
prepare_component "reset" "portmaster"
|
prepare_component "reset" "portmaster"
|
||||||
prepare_component "reset" "ruffle"
|
prepare_component "reset" "ruffle"
|
||||||
update_rd_conf
|
|
||||||
prepare_component "reset" "steam-rom-manager"
|
prepare_component "reset" "steam-rom-manager"
|
||||||
|
|
||||||
# RetroArch
|
# RetroArch
|
||||||
|
@ -645,9 +646,8 @@ post_update() {
|
||||||
unzip -j -o "$config/mame/cheat0264.zip" 'cheat.7z' -d "$cheats_folder/mame" && log i "Cheats for MAME installed"
|
unzip -j -o "$config/mame/cheat0264.zip" 'cheat.7z' -d "$cheats_folder/mame" && log i "Cheats for MAME installed"
|
||||||
rm -rf /var/data/mame/cheat
|
rm -rf /var/data/mame/cheat
|
||||||
|
|
||||||
log i "Preparing the RetroAchievements for PPSSPP..."
|
log i "Preparing the RetroAchievements for Dolphin..."
|
||||||
set_setting_value $rd_conf "ppsspp" "false" retrodeck "cheevos" && log i "Done"
|
cp -vn "$config/dolphin/"* /var/config/dolphin-emu/
|
||||||
set_setting_value $rd_conf "ppsspp" "false" retrodeck "cheevos_hardcore" && log i "Done"
|
|
||||||
|
|
||||||
fi # end of 0.9.1b
|
fi # end of 0.9.1b
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,7 @@
|
||||||
<li>PORTMASTER: added the ability to hide PortMaster from ES-DE</li>
|
<li>PORTMASTER: added the ability to hide PortMaster from ES-DE</li>
|
||||||
<li>PSX: fixed an issue that was not showing the borders correctly</li>
|
<li>PSX: fixed an issue that was not showing the borders correctly</li>
|
||||||
<li>BIOS CHECKER: fixed wrong folder check</li>
|
<li>BIOS CHECKER: fixed wrong folder check</li>
|
||||||
|
<li>POST_UPDATE: fixed a bug where retrodeck.cfg was not updated at every version</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Developers, developers, developers:</p>
|
<p>Developers, developers, developers:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in a new issue