mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
STEAM_SYNC: standardized script name
This commit is contained in:
parent
0d4e8e02c7
commit
f64a64953d
|
@ -886,7 +886,7 @@ quit_retrodeck() {
|
||||||
# if steam sync is on do the magic
|
# if steam sync is on do the magic
|
||||||
if [[ $steam_sync == "true" ]]; then
|
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/")"
|
addToSteam "$(ls "$rdhome/ES-DE/gamelists/")"
|
||||||
) |
|
) |
|
||||||
zenity --progress \
|
zenity --progress \
|
||||||
|
|
|
@ -328,11 +328,9 @@ addToSteam() {
|
||||||
sanitized_name=$(echo "$sanitized_name" | cut -c 1-100)
|
sanitized_name=$(echo "$sanitized_name" | cut -c 1-100)
|
||||||
fi
|
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="$steamsync_folder/${sanitized_name}.sh"
|
||||||
|
|
||||||
local launcher="$rdhome/.sync/${sanitized_name}.sh"
|
|
||||||
log d "Creating shortcut at path: $launcher"
|
log d "Creating shortcut at path: $launcher"
|
||||||
|
|
||||||
if [[ -v command_list_default[$system] ]]; then
|
if [[ -v command_list_default[$system] ]]; then
|
||||||
|
@ -356,6 +354,6 @@ addToSteam() {
|
||||||
log i "Steam Sync: completed"
|
log i "Steam Sync: completed"
|
||||||
}
|
}
|
||||||
|
|
||||||
remove_from_steam {
|
remove_from_steam() {
|
||||||
echo "TBD"
|
echo "TBD"
|
||||||
}
|
}
|
Loading…
Reference in a new issue