Skip to content

Commit e303662

Browse files
committed
umu_util: remove link
1 parent 93e3fd7 commit e303662

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

umu/umu_util.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from tarfile import open as tar_open, TarInfo
22
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
44
from typing import Any, Dict, List, Callable
55
from json import load, dump
66
from umu_log import log
@@ -188,11 +188,6 @@ def _install_umu(
188188
root.joinpath("umu-launcher"),
189189
steam_compat.joinpath("umu-launcher"),
190190
)
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-
)
196191

197192
# Runtime platform
198193
setup_runtime(json)
@@ -338,10 +333,6 @@ def _update_umu(
338333
steam_compat.joinpath("umu-launcher"),
339334
)
340335

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-
)
345336
log.console(f"Restored umu-launcher to {val}")
346337
elif steam_compat.joinpath("umu-launcher").is_dir() and val != runner:
347338
# Update
@@ -353,11 +344,6 @@ def _update_umu(
353344
steam_compat.joinpath("umu-launcher"),
354345
)
355346

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-
361347
json_local["umu"]["versions"]["runner"] = val
362348

363349
if thread:

0 commit comments

Comments
 (0)