Fix issues with the Steam flatpak runner

This commit is contained in:
PapaTutuWawa 2023-12-02 21:49:00 +01:00
parent 66fa859183
commit e3038fc4d5
2 changed files with 4 additions and 4 deletions

View File

@ -62,9 +62,8 @@ def launch(game: str, profile: str):
# Launch the game # Launch the game
if mounts_ok: if mounts_ok:
# runner.run() runner.run(game)
# game.wait() game.wait()
print(f"Stub runner: Would use {runner.__class__.__name__}")
# Unmount # Unmount
for mount in mounts: for mount in mounts:

View File

@ -1,8 +1,9 @@
import abc import abc
from pathlib import Path from pathlib import Path
from lmm.cmd import run_cmd_nonblocking
from lmm.runners.runner import Runner from lmm.runners.runner import Runner
from lmm.games.game import Game from lmm.games.game import Game, ProtonGame
class SteamRuntime(abc.ABC): class SteamRuntime(abc.ABC):