mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
Remove screenshots_folder from core userdata backup
This commit is contained in:
parent
27a07fcb70
commit
994294d62a
|
|
@ -450,7 +450,7 @@ backup_retrodeck_userdata() {
|
||||||
|
|
||||||
elif [[ "$backup_type" == "core" ]]; then
|
elif [[ "$backup_type" == "core" ]]; then
|
||||||
for folder_name in "${!config_paths[@]}"; do
|
for folder_name in "${!config_paths[@]}"; do
|
||||||
if [[ $folder_name =~ (saves_folder|states_folder|logs_folder|screenshots_folder) ]]; then # Only include these paths
|
if [[ $folder_name =~ (saves_folder|states_folder|logs_folder) ]]; then # Only include these paths
|
||||||
path_value="${config_paths[$folder_name]}"
|
path_value="${config_paths[$folder_name]}"
|
||||||
if [[ -e "$path_value" ]]; then
|
if [[ -e "$path_value" ]]; then
|
||||||
paths_to_backup+=("$path_value")
|
paths_to_backup+=("$path_value")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue