You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2025. It is now read-only.
import os
from .library import Library
__PATH = os.path.join(os.path.dirname(__file__), "bin")
if os.path.exists(__PATH):
ver = Library.open(__PATH)
if ver:
print(f"MaaFw version: {ver}")
NIceGUI 在启用自动重载 (
ui.run(load=True)
) 时,会运行两次 Python 脚本,详见 zauberzeug/nicegui#794 。这会导致 maa 执行两次初始化语句,语句如下:
目前的解决方案是手动去除 print 语句,自行打印 MaaFw 版本信息。这一暂时性的修复会包含在未来的发行版中,通过命令行启动的用户可考虑自行移除相关 print 语句。
The text was updated successfully, but these errors were encountered: