Launcher: Update message that displays when installing a custom apworld for a game in main (#3607)
This commit is contained in:
parent
35c9061c9c
commit
6f617e302d
|
@ -132,7 +132,8 @@ def _install_apworld(apworld_src: str = "") -> Optional[Tuple[pathlib.Path, path
|
||||||
break
|
break
|
||||||
if found_already_loaded:
|
if found_already_loaded:
|
||||||
raise Exception(f"Installed APWorld successfully, but '{module_name}' is already loaded,\n"
|
raise Exception(f"Installed APWorld successfully, but '{module_name}' is already loaded,\n"
|
||||||
"so a Launcher restart is required to use the new installation.")
|
"so a Launcher restart is required to use the new installation.\n"
|
||||||
|
"If the Launcher is not open, no action needs to be taken.")
|
||||||
world_source = worlds.WorldSource(str(target), is_zip=True)
|
world_source = worlds.WorldSource(str(target), is_zip=True)
|
||||||
bisect.insort(worlds.world_sources, world_source)
|
bisect.insort(worlds.world_sources, world_source)
|
||||||
world_source.load()
|
world_source.load()
|
||||||
|
|
Loading…
Reference in New Issue