mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
Remove unnecessary compattool check
This commit is contained in:
parent
f5a33d3e70
commit
e20000b910
@ -300,8 +300,6 @@ def add_compat_tool(app_id, launchoptions):
|
||||
if 'CompatToolMapping' not in config_data['InstallConfigStore']['Software']['Valve']['Steam']:
|
||||
config_data['InstallConfigStore']['Software']['Valve']['Steam']['CompatToolMapping'] = {}
|
||||
print(f"CompatToolMapping key not found in config.vdf, creating.")
|
||||
if str(app_id) in config_data['InstallConfigStore']['Software']['Valve']['Steam']['CompatToolMapping'] and config_data['InstallConfigStore']['Software']['Valve']['Steam']['CompatToolMapping'][str(app_id)]['name'] == f'{compat_tool_name}':
|
||||
return False
|
||||
if 'chrome' in launchoptions:
|
||||
return False
|
||||
elif str(app_id) in config_data['InstallConfigStore']['Software']['Valve']['Steam']['CompatToolMapping']:
|
||||
|
Loading…
Reference in New Issue
Block a user