From e3038fc4d53411752c51c8759564fbd013a6d351 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 2 Dec 2023 21:49:00 +0100 Subject: [PATCH] Fix issues with the Steam flatpak runner --- lmm/cli.py | 5 ++--- lmm/runners/steam.py | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lmm/cli.py b/lmm/cli.py index 9609102..936b7e7 100644 --- a/lmm/cli.py +++ b/lmm/cli.py @@ -62,9 +62,8 @@ def launch(game: str, profile: str): # Launch the game if mounts_ok: - # runner.run() - # game.wait() - print(f"Stub runner: Would use {runner.__class__.__name__}") + runner.run(game) + game.wait() # Unmount for mount in mounts: diff --git a/lmm/runners/steam.py b/lmm/runners/steam.py index bffbfe5..f0adf3f 100644 --- a/lmm/runners/steam.py +++ b/lmm/runners/steam.py @@ -1,8 +1,9 @@ import abc from pathlib import Path +from lmm.cmd import run_cmd_nonblocking from lmm.runners.runner import Runner -from lmm.games.game import Game +from lmm.games.game import Game, ProtonGame class SteamRuntime(abc.ABC):