Skip to content

Commit

Permalink
fix(build): Add missing resources
Browse files Browse the repository at this point in the history
  • Loading branch information
yshalsager authored Oct 26, 2024
1 parent bfa443b commit 6f9ab7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion almufarrigh.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ from PyInstaller.building.build_main import Analysis
from PyInstaller.building.osx import BUNDLE
from PyInstaller.utils.hooks import collect_data_files, copy_metadata

datas = []
datas = [
("src/qml", "qml/"),
("src/resources", "resources/"),
("src/resources_rc.py", "."),
]
datas += collect_data_files("whisper")
datas += collect_data_files("transformers", include_py_files=True)
datas += collect_data_files("torch")
Expand Down

0 comments on commit 6f9ab7f

Please sign in to comment.