def METHOD_NAME():
    is_frozen = getattr(sys, "frozen", False)
    # Always use UTF-8 for print()
    if sys.stdout is not None:
        sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding="utf-8", line_buffering=True)
    if is_frozen:
        import multiprocessing
        # Set up paths for frozen binaries (Windows and macOS)
        executable_folder = os.path.dirname(sys.executable)
        os.environ["SSL_CERT_FILE"] = os.path.join(executable_folder, "lib/cert.pem")
        # Support file scanning process in frozen binaries
        multiprocessing.freeze_support()