Skip to content

Commit

Permalink
umu_util: remove link
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Apr 3, 2024
1 parent 93e3fd7 commit e184a2e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions umu/umu_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,6 @@ def _install_umu(
root.joinpath("umu-launcher"),
steam_compat.joinpath("umu-launcher"),
)
# Only create the link for native system packages
if not (FLATPAK_PATH or root == Path("/app/share/umu")):
steam_compat.joinpath("umu-launcher", "umu-run").symlink_to(
"../../../umu/umu_run.py"
)

# Runtime platform
setup_runtime(json)
Expand Down Expand Up @@ -338,10 +333,6 @@ def _update_umu(
steam_compat.joinpath("umu-launcher"),
)

if not (FLATPAK_PATH or root == Path("/app/share/umu")):
steam_compat.joinpath("umu-launcher", "umu-run").symlink_to(
"../../../umu/umu_run.py"
)
log.console(f"Restored umu-launcher to {val}")
elif steam_compat.joinpath("umu-launcher").is_dir() and val != runner:
# Update
Expand All @@ -353,11 +344,6 @@ def _update_umu(
steam_compat.joinpath("umu-launcher"),
)

if not (FLATPAK_PATH or root == Path("/app/share/umu")):
steam_compat.joinpath("umu-launcher", "umu-run").symlink_to(
"../../../umu/umu_run.py"
)

json_local["umu"]["versions"]["runner"] = val

if thread:
Expand Down

0 comments on commit e184a2e

Please sign in to comment.