[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:
derrod 2020-05-04 14:05:32 +02:00
parent df55f18a78
commit bd3095a6be
2 changed files with 10 additions and 0 deletions

View file

View 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