Skip to content

Commit af43908

Browse files
authored
Merge pull request #37 from elijahcroft/fix/pyinstaller-build
Fix pyinstaller build
2 parents 29d2d48 + 24442a0 commit af43908

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

engine/build_tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ def _build_pyinstaller(name: str, directory: Path, log_queue: "Queue[Optional[st
148148
"--specpath",
149149
str(directory),
150150
f"--add-data={directory / 'game.absp'!s}{os.pathsep}.",
151+
f"--add-data={directory / 'engine' / 'nut'}{os.pathsep}engine/nut/",
152+
f"--add-data={directory / 'engine' / 'tcl'}{os.pathsep}engine/tcl/",
151153
]
152154

153155
if (directory / "scripts").exists():

0 commit comments

Comments
 (0)