Update NonSteamLaunchers.sh

This commit is contained in:
Roy 2025-04-03 07:04:21 -07:00 committed by GitHub
parent 21fe359961
commit 5f219dc33c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3032,8 +3032,8 @@ update_notes_in_file() {
# Function to list game names from the shortcuts file
list_game_names() {
if [[ ! -f "$shortcuts_file" ]]; then
echo "The shortcuts file does not exist at $shortcuts_file."
exit 1
echo "The shortcuts file does not exist at $shortcuts_file. Creating an empty file..."
touch "$shortcuts_file" # Create an empty file
fi
echo "Reading game names from $shortcuts_file..."
@ -3051,6 +3051,7 @@ list_game_names() {
done < "$shortcuts_file"
}
# Main process
echo "Starting script..."