Skip to content

Commit

Permalink
chore: release v3.4.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Feb 6, 2025
1 parent eceaf85 commit dbe6272
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions pkg/core/notes/n003_print_version.py
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion pkg/core/stages/show_notes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from .. import stage, app, note
from ..notes import n001_classic_msgs, n002_selection_mode_on_windows
from ..notes import n001_classic_msgs, n002_selection_mode_on_windows, n003_print_version


@stage.stage_class("ShowNotesStage")
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
semantic_version = "v3.4.6"
semantic_version = "v3.4.6.1"

debug_mode = False

Expand Down

0 comments on commit dbe6272

Please sign in to comment.