Added full shortcut clean

This commit is contained in:
Lx32 2024-09-24 22:06:53 +02:00
parent 4c2e555812
commit f456fbbda7

View file

@ -118,10 +118,23 @@ EOF
done
fi
done
if [ -z "$( ls -A $steamsync_folder )" ]; then
log d "No games found, cleaning shortcut"
remove_from_steam
else
log d "Updating game list"
#steam-rom-manager add
fi
log i "Steam Sync: completed"
}
remove_from_steam() {
echo "TBD"
log d "Creating fake game"
cat "" > "$steamsync_folder/CUL0.sh"
log d "Cleaning the shortcut"
steam-rom-manager remove
log d "Removing fake game"
rm "$steamsync_folder/CUL0.sh"
}