Skip to content

Commit

Permalink
Ensure patcher program can start on Windows
Browse files Browse the repository at this point in the history
Windows doesn't quite have a concept of process forking, so to prevent
endlessly creating new processes, at this code.

Fix up for 614d475
  • Loading branch information
lah7 committed Oct 13, 2024
1 parent 1f16be7 commit eed389b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sims2_4k_ui_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,8 @@ def __init__(self):


if __name__ == "__main__":
multiprocessing.freeze_support() # Required for Windows

app = QApplication(sys.argv)
window = PatcherApplication()

Expand Down

0 comments on commit eed389b

Please sign in to comment.