f7fd7ef0 by 柴进

:bug: 修复 macOS 启动闪退: PyInstaller 未打包 Pillow 原生 dylib

根因: PIL/_imaging.so 依赖 libtiff.6.dylib,但 PyInstaller 默认未收集。
修复: 添加 --collect-all PIL 确保所有 Pillow 原生库(.dylib/.so)被打包。
同步更新 Windows 打包脚本。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b2446d9a
......@@ -77,6 +77,7 @@ pyinstaller --name="ZB100ImageGenerator" \
--windowed \
--add-data "config.json:." \
--icon=zb100_mac.icns \
--collect-all PIL \
image_generator.py
# 验证构建结果
......
......@@ -34,6 +34,7 @@ pyinstaller --name="ZB100ImageGenerator" ^
--icon=zb100_windows.ico ^
--add-data "config.json;." ^
--add-data "zb100_windows.ico;." ^
--collect-all PIL ^
image_generator.py
REM Check if build was successful
......