chore: release v3.4.6.1

This commit is contained in:
Junyan Qin
2025-02-06 14:52:01 +08:00
parent eceaf85807
commit dbe6272bd8
3 changed files with 23 additions and 2 deletions
+21
View File
@@ -0,0 +1,21 @@
from __future__ import annotations
import typing
import os
import sys
import logging
from .. import note, app
@note.note_class("PrintVersion", 3)
class PrintVersion(note.LaunchNote):
"""打印版本信息
"""
async def need_show(self) -> bool:
return True
async def yield_note(self) -> typing.AsyncGenerator[typing.Tuple[str, int], None]:
yield f"当前版本:{self.ap.ver_mgr.get_current_version()}", logging.INFO