summarylogtreecommitdiffstats
path: root/roon-umu-run
blob: 4c434419b9ecdb825411674cf577f30b2cd3ccef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python
"""Run UMU 1.4.0 without its broken-by-default launcher service."""

import sys

from umu.umu_runtime import CompatLayer

# UMU 1.4.0 always exports STEAM_COMPAT_LAUNCHER_SERVICE. For ordinary apps
# this can report success before the requested executable has run. UMU 1.4.1
# made the service opt-in; returning an empty value reproduces that behavior.
CompatLayer.launcher_service = property(lambda self: "")  # type: ignore[assignment]

from umu.__main__ import main  # noqa: E402

sys.exit(main())