Skip to content

Commit

Permalink
Launcher "Text Client" --connect archipelago.gg:38281
Browse files Browse the repository at this point in the history
should work, it doesn't, this fixes that
  • Loading branch information
qwint committed Jun 19, 2024
1 parent f515a08 commit be8e76f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CommonClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,8 @@ async def main(args):

if args.url:
url = urllib.parse.urlparse(args.url)
args.connect = url.netloc
if url.netloc:
args.connect = url.netloc
if url.username:
args.name = urllib.parse.unquote(url.username)
if url.password:
Expand Down
3 changes: 2 additions & 1 deletion Launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@ def main(args: Optional[Union[argparse.Namespace, dict]] = None):
help="Pass either a patch file, a generated game or the name of a component to run.")
run_group.add_argument("args", nargs="*",
help="Arguments to pass to component.")
main(parser.parse_args())
args, unknown_args = parser.parse_known_args()
main(args)

from worlds.LauncherComponents import processes
for process in processes:
Expand Down

0 comments on commit be8e76f

Please sign in to comment.