From eed389baa9f6d2c2f9eff6f57074348552d13956 Mon Sep 17 00:00:00 2001 From: Luke Horwell Date: Sun, 13 Oct 2024 15:29:47 +0100 Subject: [PATCH] Ensure patcher program can start on Windows Windows doesn't quite have a concept of process forking, so to prevent endlessly creating new processes, at this code. Fix up for 614d47533672 --- sims2_4k_ui_patcher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sims2_4k_ui_patcher.py b/sims2_4k_ui_patcher.py index 872aeea..9a83f87 100755 --- a/sims2_4k_ui_patcher.py +++ b/sims2_4k_ui_patcher.py @@ -935,6 +935,8 @@ def __init__(self): if __name__ == "__main__": + multiprocessing.freeze_support() # Required for Windows + app = QApplication(sys.argv) window = PatcherApplication()