mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 16:19:19 +01:00
~separated browser Selections from game launchers for compat tool
This commit is contained in:
parent
3146fdd11e
commit
9a8d77a4cc
@ -266,7 +266,11 @@ game_launchers = {
|
|||||||
'Minecraft: Java Edition',
|
'Minecraft: Java Edition',
|
||||||
'Playstation Plus',
|
'Playstation Plus',
|
||||||
'DMM Games',
|
'DMM Games',
|
||||||
'VK Play',
|
'VK Play'
|
||||||
|
}
|
||||||
|
|
||||||
|
#Chrome Based "Launchers"
|
||||||
|
chrome_launchers = {
|
||||||
'Hulu',
|
'Hulu',
|
||||||
'Twitch',
|
'Twitch',
|
||||||
'Amazon Luna',
|
'Amazon Luna',
|
||||||
@ -275,8 +279,9 @@ game_launchers = {
|
|||||||
'Disney+',
|
'Disney+',
|
||||||
'Netflix',
|
'Netflix',
|
||||||
'GeForce Now',
|
'GeForce Now',
|
||||||
'Xbox Game Pass'
|
'Xbox Game Pass',
|
||||||
} # replace with your actual game launchers
|
'movie-web'
|
||||||
|
}
|
||||||
|
|
||||||
# Mapping between shortcut names and SteamGridDB names
|
# Mapping between shortcut names and SteamGridDB names
|
||||||
name_mapping = {
|
name_mapping = {
|
||||||
@ -316,8 +321,11 @@ for shortcut in shortcuts['shortcuts'].values():
|
|||||||
# Download and apply artwork
|
# Download and apply artwork
|
||||||
get_sgdb_art(game_id, unsigned_shortcut_id)
|
get_sgdb_art(game_id, unsigned_shortcut_id)
|
||||||
new_shortcuts_added = True
|
new_shortcuts_added = True
|
||||||
if add_compat_tool(unsigned_shortcut_id):
|
# Only add compat tool if not a chrome launcher
|
||||||
shortcuts_updated = True
|
if app_name not in chrome_launchers:
|
||||||
|
if add_compat_tool(unsigned_shortcut_id):
|
||||||
|
shortcuts_updated = True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# End of finding the Launchers and applying artwork to already made shortcuts from NonSteamLaunchers.sh
|
# End of finding the Launchers and applying artwork to already made shortcuts from NonSteamLaunchers.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user