修改部分静态资源

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 KiB

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 432 KiB

After

Width:  |  Height:  |  Size: 303 KiB

16
main.py
View File

@@ -1,20 +1,18 @@
import sys
import module.resources
from PySide6.QtWidgets import QApplication
from ui.main import MainWindow
import module.resources
from utils.function import is_frozen
if __name__ == '__main__':
app = QApplication(sys.argv)
window = MainWindow()
try:
if is_frozen():
import pyi_splash
pyi_splash.close()
except ImportError:
pass
finally:
window.show()
pyi_splash.update_text('正在启动...')
app = QApplication(sys.argv)
window = MainWindow()
window.show()
sys.exit(app.exec())

View File

@@ -20,7 +20,7 @@ splash = Splash(
'images\\splash.png',
binaries=a.binaries,
datas=a.datas,
text_pos=(5,378),
text_pos=(35,378),
text_size=12,
text_color='black',
minify_script=True,

File diff suppressed because it is too large Load Diff

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()