From 3c4ebaac620ee9a9628a1658e078549986495abb Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:37:09 -0700 Subject: [PATCH] Further fixed some website code ~Now websites show full url in the shortcut so they can be renamed manually, allowing for multiple base name shortcuts or shortcuts that aren't "games" --- NonSteamLaunchers.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index bf26a5b..2335de3 100644 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -3131,8 +3131,8 @@ for custom_website in custom_websites: # Capitalize the first letter of each word in the game name game_name = game_name.title() else: - # If no match was found, set the game name to an empty string - game_name = '' + # Use the entire URL as the entry name + game_name = clean_website # Define the launch options for this website chromelaunch_options = f'run --branch=stable --arch=x86_64 --command=/app/bin/chrome --file-forwarding com.google.Chrome @@u @@ --window-size=1280,800 --force-device-scale-factor=1.00 --device-scale-factor=1.00 --kiosk https://{clean_website}/ --chrome-kiosk-type=fullscreen --no-first-run --enable-features=OverlayScrollbar' @@ -3142,7 +3142,6 @@ for custom_website in custom_websites: - print(f'app_ids: {app_ids}') # Save the updated shortcuts dictionary to the shortcuts.vdf file