修改部分静态资源

This commit is contained in:
2025-05-27 02:01:46 +08:00
parent b78f35101b
commit 31b73937fe
6 changed files with 13469 additions and 13191 deletions

View File

@@ -1,4 +1,4 @@
from PySide6.QtGui import QIcon
from PySide6.QtGui import QIcon, QShowEvent
from qfluentwidgets import FluentIcon, MSFluentWindow, NavigationItemPosition, MessageBox
from ui.pyui.about_ui import AboutWidget
@@ -39,3 +39,10 @@ class MainWindow(MSFluentWindow):
def showError(self, title: str, message: str):
MessageBox(title, message, self).exec()
def showEvent(self, event: QShowEvent):
super().showEvent(event)
if is_frozen():
import pyi_splash
pyi_splash.update_text('正在加载...')
pyi_splash.close()