这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions openage/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ def main(argv=None):


if __name__ == '__main__':
# Required for Windows executables (and apparently macOS too)
# https://docs.python.org/3/library/multiprocessing.html#multiprocessing.freeze_support
# https://pyinstaller.org/en/latest/common-issues-and-pitfalls.html#multi-processing
multiprocessing.freeze_support()

# openage is complicated and multithreaded; better not use fork.
multiprocessing.set_start_method('spawn')

Expand Down