mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
Fix incorrect directory check for SRM userdata and add SRM dir to global.sh
This commit is contained in:
parent
9d27347817
commit
34b9b927fa
|
@ -273,6 +273,7 @@ fi
|
|||
# Steam ROM Manager user files and paths
|
||||
|
||||
steamsync_folder="$rdhome/.sync" # Folder containing favorites manifest for SRM
|
||||
srm_userdata="$XDG_CONFIG_HOME/steam-rom-manager/userData" # SRM userdata folder, holding
|
||||
retrodeck_favorites_file="$steamsync_folder/retrodeck_favorites.json" # The current SRM manifest of all games that have been favorited in ES-DE
|
||||
srm_log="$logs_folder/srm_log.log" # Log file for capturing the output of the most recent SRM run, for debugging purposes
|
||||
retrodeck_added_favorites="$steamsync_folder/retrodeck_added_favorites.json" # Temporary manifest of any games that were newly added to the ES-DE favorites and should be added to Steam
|
||||
|
|
|
@ -11,7 +11,7 @@ steam_sync() {
|
|||
log "i" "Starting Steam Sync"
|
||||
create_dir "$steamsync_folder"
|
||||
|
||||
if [ ! -f "$srm_path" ]; then
|
||||
if [[ ! -d "$srm_userdata" ]]; then
|
||||
log "e" "Steam ROM Manager configuration not initialized! Initializing now."
|
||||
prepare_component "reset" "steam-rom-manager"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue