Skip to content

Command prefix for a game #393

Open
Open
@Mikaka27

Description

@Mikaka27

Hi,
I would like to run a game offline with umu (from lutris but maybe that's beside the point).

Since umu requires internet to function, I'm looking for a way to add a command prefix just before game is executed, I've tried to set PROTON_VERB to custom command, but it's validated and only few possibilities are allowed.
I'm looking for a way to inject something here:

umu-launcher/umu/umu_run.py

Lines 342 to 352 in cbe41c9

return (
entry_point,
"--verb",
env["PROTON_VERB"],
"--",
shim,
proton,
env["PROTON_VERB"],
env["EXE"],
*opts,
)

Preferably this would be a program installed on a host that is accessible to umu.
Is there a way to do such a thing? Or changes in the code are required for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions