Skip to content

Commit

Permalink
umu_run: update error message for _v2-entry-point
Browse files Browse the repository at this point in the history
- In this case, the launcher only checks ~/.local/share/umu and never the parent of the root directory
  • Loading branch information
R1kaB3rN committed Mar 28, 2024
1 parent cc901ce commit d749cfe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,9 @@ def build_command(

# Raise an error if the _v2-entry-point cannot be found
if not local.joinpath("umu").is_file():
home: str = Path.home().as_posix()
dir: str = Path(__file__).parent.as_posix()
msg: str = (
"Path to _v2-entry-point cannot be found in: "
f"{home}/.local/share or {dir}\n"
f"{local}\n"
"Please install a Steam Runtime platform"
)
raise FileNotFoundError(msg)
Expand Down

0 comments on commit d749cfe

Please sign in to comment.