STEAM_SYNC: standardized script name

This commit is contained in:
XargonWan 2024-09-08 08:57:36 +09:00
parent 0d4e8e02c7
commit f64a64953d
2 changed files with 4 additions and 6 deletions

View file

@ -886,7 +886,7 @@ quit_retrodeck() {
# if steam sync is on do the magic
if [[ $steam_sync == "true" ]]; then
(
source /app/libexec/steam-sync/steam-sync.sh
source /app/libexec/steam_sync.sh
addToSteam "$(ls "$rdhome/ES-DE/gamelists/")"
) |
zenity --progress \

View file

@ -328,11 +328,9 @@ addToSteam() {
sanitized_name=$(echo "$sanitized_name" | cut -c 1-100)
fi
log d "Sanitized Name: $sanitized_name"
log d "Sanitized Name: $sanitized_name"
#TODO: FIXME, this part is wrong, I need to fix it
local launcher="$rdhome/.sync/${sanitized_name}.sh"
local launcher="$steamsync_folder/${sanitized_name}.sh"
log d "Creating shortcut at path: $launcher"
if [[ -v command_list_default[$system] ]]; then
@ -356,6 +354,6 @@ addToSteam() {
log i "Steam Sync: completed"
}
remove_from_steam {
remove_from_steam() {
echo "TBD"
}