Closed Yongle-Fu closed 6 months ago
after use pyinstaller generate MyAPP.app
➜ deploy git:(develop) ✗ codesign -vvv --deep --strict path/to/MyAPP.app/
path/to/MyAPP.app/: a sealed resource is missing or invalid file added: /path/to/MyAPP.app/Contents/Resources/qt_material/dock_theme_ui.py
while remove dock_theme_ui.py, codesign check is fine
add dock_theme_ui.py file and add follow code to hook-qt_material.py will be ok
dock_theme_ui.py
hook-qt_material.py
dock_theme_ui_path = qt_material_path / "dock_theme_ui.py" datas += [(str(dock_theme_ui_path), "qt_material")]
after use pyinstaller generate MyAPP.app
➜ deploy git:(develop) ✗ codesign -vvv --deep --strict path/to/MyAPP.app/
path/to/MyAPP.app/: a sealed resource is missing or invalid file added: /path/to/MyAPP.app/Contents/Resources/qt_material/dock_theme_ui.py
while remove dock_theme_ui.py, codesign check is fine