Closed NQNStudios closed 1 year ago
Weirdly, things seem to run fine WITHOUT copying the data/ subfolders into the output directory.
It presumably depends on how you're launching the game. In particular, when launching from Visual Studio, it likely uses something like the repository root (or possibly the actual directory it used to copy to) as the working directory.
I hope with this it'll still launch when the files don't exist in the directory it used to copy to? If that's the case I can merge as soon as CI passes.
Does the resource manager embed them in the binary or something?
It does not. The only things embedded in the binary are the icon and the menu definitions.
Just checked, and it does work, both launched from VSCode and by launching the generated exe directly.
Fix #332
Weirdly, things seem to run fine WITHOUT copying the data/ subfolders into the output directory. Does the resource manager embed them in the binary or something? Anyway, I made it copy them over anyway just in case.