重构添加统一异常处理

This commit is contained in:
xinzhu.yin
2026-04-20 15:34:45 +08:00
parent 2e92b48496
commit b1b14c2d49
8 changed files with 114 additions and 61 deletions

View File

@@ -70,7 +70,52 @@ a = Analysis(
pathex=[],
binaries=[],
datas=[('assets', 'assets'), ('UniTAP', 'UniTAP')],
hiddenimports=[],
hiddenimports=[
# app 包的子模块在主文件里是静态 import 的,但惰性调用 / 属性绑定
# 场景较多,显式列出可避免 PyInstaller 漏打包。
'app',
'app.config_io',
'app.data_range_converter',
'app.resources',
'app.device',
'app.device.connection',
'app.pq',
'app.pq.pq_config',
'app.pq.pq_result',
'app.plots',
'app.plots.plot_accuracy',
'app.plots.plot_cct',
'app.plots.plot_contrast',
'app.plots.plot_eotf',
'app.plots.plot_gamma',
'app.plots.plot_gamut',
'app.runner',
'app.runner.test_runner',
'app.tests',
'app.tests.color_accuracy',
'app.tests.eotf',
'app.tests.gamma',
'app.tests.gamut',
'app.tests.local_dimming',
'app.views',
'app.views.chart_frame',
'app.views.collapsing_frame',
'app.views.panel_manager',
'app.views.pq_debug_panel',
'app.views.pq_log_gui',
'app.views.panels',
'app.views.panels.cct_panel',
'app.views.panels.custom_template_panel',
'app.views.panels.main_layout',
'app.views.panels.side_panels',
'drivers',
'drivers.baseSerail',
'drivers.caSerail',
'drivers.tvSerail',
'drivers.UCD323_Enum',
'drivers.UCD323_Function',
'drivers.ucd_helpers',
],
hookspath=[],
hooksconfig={},
runtime_hooks=[],