修改函数
This commit is contained in:
@@ -3,7 +3,7 @@ from PySide6.QtWidgets import QVBoxLayout, QHBoxLayout
|
||||
from qfluentwidgets import PrimaryPushSettingCard, FluentIcon, GroupHeaderCardWidget, PushButton, ImageLabel, TitleLabel
|
||||
|
||||
from ui.components.widget import Widget
|
||||
from utils.function import is_frozen
|
||||
from utils.function import DEVELOPMENT_ENV
|
||||
|
||||
|
||||
class AboutWidget(Widget):
|
||||
@@ -19,7 +19,7 @@ class AboutWidget(Widget):
|
||||
self.hBox.addWidget(self.appNameLabel, 1, Qt.AlignLeft)
|
||||
|
||||
build_time_str = ''
|
||||
if is_frozen():
|
||||
if DEVELOPMENT_ENV:
|
||||
from build_info import BUILD_TIME
|
||||
build_time_str = f",构建时间:{BUILD_TIME}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user