Skip to content

Commit

Permalink
ulwgl_run: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Feb 29, 2024
1 parent 5db4970 commit e5a7090
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ULWGL/ulwgl_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def setup_pfx(path: str) -> None:
wineuser.symlink_to("steamuser")
elif wineuser.is_dir() and not steam.is_dir() and not steam.is_symlink():
# When there's a user dir: steamuser -> user
# Be sure it's relative
steam.unlink(missing_ok=True)
steam.symlink_to(user.get_user())
elif not wineuser.exists() and not wineuser.is_symlink() and steam.is_dir():
Expand Down Expand Up @@ -274,8 +273,7 @@ def main() -> int: # noqa: D103
}
command: List[str] = []
opts: List[str] = None
# Expected files in this dir: pressure vessel, launcher files, runtime platform, runner, config
# root: Path = Path("/usr/share/ULWGL")
# Expected files in this dir: pressure vessel, launcher files, runner, config, reaper
root: Path = Path(__file__).resolve().parent
# Expects this dir to be in sync with root
# On update, files will be selectively updated
Expand All @@ -294,14 +292,12 @@ def main() -> int: # noqa: D103
if isinstance(args, Namespace) and getattr(args, "config", None):
set_env_toml(env, args)
else:
# Reference the game options
opts = args[1]
opts = args[1] # Reference the executable options
check_env(env)

setup_pfx(env["WINEPREFIX"])
set_env(env, args)

# Game Drive
enable_steam_game_drive(env)

# Set all environment variables
Expand Down

0 comments on commit e5a7090

Please sign in to comment.