Removing the separate variable per configuration option and replacing it with a list of arguments and a dictionary of environment variables
Sharing common lists of arguments between the different types of games.
(ex wrapperArgs for the wrapper commands goes first)
Assembling the full list and dictionary into strings during createlaunchfile.
Arguments and paths no longer need to be suffixed with a space, as this happens automatically during the string " ".join() command in createlaunchfile.
Returning the list and dictionary also made it easier to create unit tests by looking at the returned lists and dictionary items.
Removes two options that have been deprecated in HeroicGamesLauncher (audioFix and enableResizableBar)
Future arguments and environment variables implemented in the HeroicBashLauncher should now only need to:
Check the appropriate configuration elements and
add the argument(s) or environment variable(s) to the appropriate list or dictionary.
This PR supports #112 by:
wrapperArgs
for the wrapper commands goes first)" ".join()
command in createlaunchfile.audioFix
andenableResizableBar
)Future arguments and environment variables implemented in the HeroicBashLauncher should now only need to: