From d3447a398324fc756d14cecac3c2e1f4f669bb68 Mon Sep 17 00:00:00 2001 From: Cyb3R Date: Fri, 5 May 2023 00:53:57 +0200 Subject: [PATCH] Launcher: Fix multiprocessing in built Launcher (#1792) --- Launcher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Launcher.py b/Launcher.py index 7acaeb78..cde6d552 100644 --- a/Launcher.py +++ b/Launcher.py @@ -11,6 +11,7 @@ Scroll down to components= to add components to the launcher as well as setup.py import argparse import itertools +import multiprocessing import shlex import subprocess import sys @@ -245,6 +246,7 @@ def main(args: Optional[Union[argparse.Namespace, dict]] = None): if __name__ == '__main__': init_logging('Launcher') + multiprocessing.freeze_support() parser = argparse.ArgumentParser(description='Archipelago Launcher') parser.add_argument('Patch|Game|Component', type=str, nargs='?', help="Pass either a patch file, a generated game or the name of a component to run.")