mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21:52 +01:00
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"
This commit is contained in:
parent
fe57fbf2f7
commit
3c4ebaac62
@ -3131,8 +3131,8 @@ for custom_website in custom_websites:
|
|||||||
# Capitalize the first letter of each word in the game name
|
# Capitalize the first letter of each word in the game name
|
||||||
game_name = game_name.title()
|
game_name = game_name.title()
|
||||||
else:
|
else:
|
||||||
# If no match was found, set the game name to an empty string
|
# Use the entire URL as the entry name
|
||||||
game_name = ''
|
game_name = clean_website
|
||||||
|
|
||||||
# Define the launch options for this 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'
|
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}')
|
print(f'app_ids: {app_ids}')
|
||||||
|
|
||||||
# Save the updated shortcuts dictionary to the shortcuts.vdf file
|
# Save the updated shortcuts dictionary to the shortcuts.vdf file
|
||||||
|
Loading…
Reference in New Issue
Block a user