Skip to content

Commit

Permalink
Don't update launcher and runner in local config
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Apr 20, 2024
1 parent 8c474ec commit e69a6ef
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions umu/umu_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,20 +234,7 @@ def _update_umu(
rmtree(local.joinpath(runtime).as_posix())
thread = Thread(target=setup_runtime, args=[json_root])
thread.start()

json_local["umu"]["versions"]["runtime_platform"] = val
elif key == "launcher":
launcher: str = json_local["umu"]["versions"]["launcher"]
if val != launcher:
log.console(f"Updating {key} to {val}")
json_local["umu"]["versions"]["launcher"] = val
if steam_compat.joinpath("umu-launcher").is_dir():
rmtree(steam_compat.joinpath("umu-launcher").as_posix())
elif key == "runner":
runner: str = json_local["umu"]["versions"]["runner"]
if val != runner:
log.console(f"Updating {key} to {val}")
json_local["umu"]["versions"]["runner"] = val

if thread:
thread.join()
Expand Down

0 comments on commit e69a6ef

Please sign in to comment.