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
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:

View File

@ -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):