mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[utils] Add new helper for game specific workaround
In the future we might extend this with other features, such as specific post-install things that some games may require to work or preconfigured WINE settings.
This commit is contained in:
parent
df55f18a78
commit
bd3095a6be
0
legendary/utils/__init__.py
Normal file
0
legendary/utils/__init__.py
Normal file
10
legendary/utils/game_workarounds.py
Normal file
10
legendary/utils/game_workarounds.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
# coding: utf-8
|
||||
|
||||
# games where the download order optimizations are enabled by default
|
||||
_optimize_default = {
|
||||
'wombat'
|
||||
}
|
||||
|
||||
|
||||
def is_opt_enabled(app_name):
|
||||
return app_name.lower() in _optimize_default
|
Loading…
Reference in a new issue