Skip to content

Commit f54abb4

Browse files
committed
ra borders folder
1 parent 5b324a1 commit f54abb4

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

retroarch/component_prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if [[ "$action" == "reset" ]]; then # Run reset-only commands
4747
retroarch_updater
4848

4949
# Avoid these paths being clobbered by the updater
50-
dir_prep "$borders_path" "$XDG_CONFIG_HOME/retroarch/overlays/borders"
50+
dir_prep "$borders_path/retroarch/" "$XDG_CONFIG_HOME/retroarch/overlays/borders"
5151
log d "Linking shaders folder to ensure retroarch can find it $XDG_CONFIG_HOME/retroarch/shaders to $shaders_path/retroarch"
5252
dir_prep "$shaders_path/retroarch" "$XDG_CONFIG_HOME/retroarch/shaders"
5353
ln -s "$retroarch_extras_path/cores" "$XDG_CONFIG_HOME/retroarch/cores" # Link RO cores to RA config dir so ES-DE can find it

retroarch/component_update.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ if [[ $(check_version_is_older_than "$version_being_updated" "0.7.0b") == "true"
1111
# - Add shipped Amiga bios if it doesn't already exist
1212
# - Disable auto-save/load in existing RA / PCSX2 / Duckstation installs for proper preset functionality
1313

14-
dir_prep "$texture_packs_folder/RetroArch-Mesen" "$XDG_CONFIG_HOME/retroarch/system/HdPacks"
15-
dir_prep "$texture_packs_folder/RetroArch-Mupen64Plus/cache" "$XDG_CONFIG_HOME/retroarch/system/Mupen64plus/cache"
16-
dir_prep "$texture_packs_folder/RetroArch-Mupen64Plus/hires_texture" "$XDG_CONFIG_HOME/retroarch/system/Mupen64plus/hires_texture"
14+
dir_prep "$texture_packs_path/retroarch/Mesen/HdPacks" "$XDG_CONFIG_HOME/retroarch/system/HdPacks"
15+
dir_prep "$texture_packs_path/retroarch/Mupen64Plus/cache" "$XDG_CONFIG_HOME/retroarch/system/Mupen64plus/cache"
16+
dir_prep "$texture_packs_path/retroarch/Mupen64Plus/hires_texture" "$XDG_CONFIG_HOME/retroarch/system/Mupen64plus/hires_texture"
1717

18-
dir_prep "$borders_folder" "$XDG_CONFIG_HOME/retroarch/overlays/borders"
18+
dir_prep "$borders_path/retroarch/" "$XDG_CONFIG_HOME/retroarch/overlays/borders"
1919
rsync -rlD --mkpath "/app/retrodeck/config/retroarch/borders/" "$XDG_CONFIG_HOME/retroarch/overlays/borders/"
2020

2121
rsync -rlD --mkpath "$config/retrodeck/presets/remaps/" "$XDG_CONFIG_HOME/retroarch/config/remaps/"
@@ -39,12 +39,12 @@ fi
3939
if [[ $(check_version_is_older_than "$version_being_updated" "0.8.1b") == "true" ]]; then
4040
log i "In version 0.8.1b, the following changes were made that required config file updates/reset or other changes to the filesystem:"
4141

42-
log i "Installing the missing ScummVM assets and renaming \"$mods_folder/RetroArch/ScummVM/themes\" into \"theme\""
43-
mv -f "$mods_folder/RetroArch/ScummVM/themes" "$mods_folder/RetroArch/ScummVM/theme"
42+
log i "Installing the missing ScummVM assets and renaming \"$storage_path/retroarch/ScummVM/themes\" into \"theme\""
43+
mv -f "$storage_path/retroarch/ScummVM/themes" "$s/retroarch/ScummVM/themes"
4444
unzip -o "$config/retroarch/ScummVM.zip" 'scummvm/extra/*' -d /tmp
4545
unzip -o "$config/retroarch/ScummVM.zip" 'scummvm/theme/*' -d /tmp
46-
mv -f "/tmp/scummvm/extra" "$mods_folder/RetroArch/ScummVM"
47-
mv -f "/tmp/scummvm/theme" "$mods_folder/RetroArch/ScummVM"
46+
mv -f "/tmp/scummvm/extra" "$storage_path/retroarch/ScummVM/extra"
47+
mv -f "/tmp/scummvm/theme" "$storage_path/retroarch/ScummVM/theme"
4848
rm -rf "/tmp/extra /tmp/theme"
4949
fi
5050

0 commit comments

Comments
 (0)