1
1
from tarfile import open as tar_open , TarInfo
2
2
from os import environ
3
- from umu_consts import CONFIG , STEAM_COMPAT , UMU_LOCAL , MODE , FLATPAK_PATH
3
+ from umu_consts import CONFIG , STEAM_COMPAT , UMU_LOCAL , MODE
4
4
from typing import Any , Dict , List , Callable
5
5
from json import load , dump
6
6
from umu_log import log
@@ -188,11 +188,6 @@ def _install_umu(
188
188
root .joinpath ("umu-launcher" ),
189
189
steam_compat .joinpath ("umu-launcher" ),
190
190
)
191
- # Only create the link for native system packages
192
- if not (FLATPAK_PATH or root == Path ("/app/share/umu" )):
193
- steam_compat .joinpath ("umu-launcher" , "umu-run" ).symlink_to (
194
- "../../../umu/umu_run.py"
195
- )
196
191
197
192
# Runtime platform
198
193
setup_runtime (json )
@@ -338,10 +333,6 @@ def _update_umu(
338
333
steam_compat .joinpath ("umu-launcher" ),
339
334
)
340
335
341
- if not (FLATPAK_PATH or root == Path ("/app/share/umu" )):
342
- steam_compat .joinpath ("umu-launcher" , "umu-run" ).symlink_to (
343
- "../../../umu/umu_run.py"
344
- )
345
336
log .console (f"Restored umu-launcher to { val } " )
346
337
elif steam_compat .joinpath ("umu-launcher" ).is_dir () and val != runner :
347
338
# Update
@@ -353,11 +344,6 @@ def _update_umu(
353
344
steam_compat .joinpath ("umu-launcher" ),
354
345
)
355
346
356
- if not (FLATPAK_PATH or root == Path ("/app/share/umu" )):
357
- steam_compat .joinpath ("umu-launcher" , "umu-run" ).symlink_to (
358
- "../../../umu/umu_run.py"
359
- )
360
-
361
347
json_local ["umu" ]["versions" ]["runner" ] = val
362
348
363
349
if thread :
0 commit comments