def METHOD_NAME(
    talkers: dict[str, ComicTalker], config: settngs.Config[ct_ns], error: tuple[str, bool] | None
) -> None:
    os.environ["QtWidgets.QT_AUTO_SCREEN_SCALE_FACTOR"] = "1"
    args = [sys.argv[0]]
    if config[0].Runtime_Options_darkmode:
        args.extend(["-platform", "windows:darkmode=2"])
    app = Application(args)
    if error is not None:
        show_exception_box(error[0])
        if error[1]:
            raise SystemExit(1)
    # needed to catch initial open file events (macOS)
    app.openFileRequest.connect(lambda x: config[0].Runtime_Options_files.append(x.toLocalFile()))
    if platform.system() == "Darwin":
        # Set the MacOS dock icon
        app.setWindowIcon(QtGui.QIcon(str(graphics_path / "app.png")))
    if platform.system() == "Windows":
        # For pure python, tell windows that we're not python,
        # so we can have our own taskbar icon
        import ctypes
        myappid = "comictagger"  # arbitrary string
        ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)  # type: ignore[attr-defined]
        # force close of console window
        swp_hidewindow = 0x0080
        console_wnd = ctypes.windll.kernel32.GetConsoleWindow()  # type: ignore[attr-defined]
        if console_wnd != 0:
            ctypes.windll.user32.SetWindowPos(console_wnd, None, 0, 0, 0, 0, swp_hidewindow)  # type: ignore[attr-defined]
    if platform.system() != "Linux":
        img = QtGui.QPixmap(str(graphics_path / "tags.png"))
        splash = QtWidgets.QSplashScreen(img)
        splash.show()
        splash.raise_()
        QtWidgets.QApplication.processEvents()
    try:
        tagger_window = TaggerWindow(config[0].Runtime_Options_files, config, talkers)
        tagger_window.setWindowIcon(QtGui.QIcon(str(graphics_path / "app.png")))
        tagger_window.show()
        # Catch open file events (macOS)
        app.openFileRequest.connect(tagger_window.open_file_event)
        if platform.system() != "Linux":
            splash.finish(tagger_window)
        sys.exit(app.exec())
    except Exception:
        logger.exception("GUI mode failed")
        QtWidgets.QMessageBox.critical(
            QtWidgets.QMainWindow(), "Error", "Unhandled exception in app:\n" + traceback.format_exc()
        )