mirror of
https://github.com/tcsenpai/UWINE.git
synced 2025-06-07 03:55:21 +00:00
gamelauncher.py: update comments
This commit is contained in:
parent
9b0402074c
commit
db6c81eacb
@ -9,8 +9,6 @@ import tomllib
|
|||||||
from typing import Dict, Any, List, Set, Union
|
from typing import Dict, Any, List, Set, Union
|
||||||
import gamelauncher_plugins
|
import gamelauncher_plugins
|
||||||
from re import match
|
from re import match
|
||||||
|
|
||||||
# TODO: Only set the environment variables that are not empty
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
|
||||||
@ -284,10 +282,10 @@ def main() -> None: # noqa: D103
|
|||||||
setup_pfx(env["WINEPREFIX"])
|
setup_pfx(env["WINEPREFIX"])
|
||||||
set_env(env, args)
|
set_env(env, args)
|
||||||
|
|
||||||
# Game Drive functionality
|
# Game Drive
|
||||||
gamelauncher_plugins.enable_steam_game_drive(env)
|
gamelauncher_plugins.enable_steam_game_drive(env)
|
||||||
|
|
||||||
# Set all environment variable
|
# Set all environment variables
|
||||||
# NOTE: `env` after this block should be read only
|
# NOTE: `env` after this block should be read only
|
||||||
for key, val in env.items():
|
for key, val in env.items():
|
||||||
print(f"Setting environment variable: {key}={val}")
|
print(f"Setting environment variable: {key}={val}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user