Can't add to resources properly
piroposantosdev opened this issue · 1 comments
What happened - I'm trying to add a folder to resources using nexe, but it's not working. When I use the command -r "src//*" apparently the folder is added to the .exe, but if I try to run the file without the /src/ folder in the same directory, the program simply won't open.
My index.js file imports the folder using ./src/... do I need to import it another way for it to work?**:
What you expected to happen - I would like to be able to open the .exe file without needing the resources that are on my local disk:
How to reproduce it (as minimally and precisely as possible) - i'm using, as example, camera.ui template and i would like to use it without any resources files, only using a unique .exe file with all elements, can I?:
Environment:
- Platform(OS/Version): Windows 11, 64bits
- Host Node Version: v18.13.0
- Target Node Version: v18.13.0
- Nexe version: 4.0.0-rc.2
- Python Version: Python 2.7.18
Maybe is another resource that is missing.
Try to open your executable from the terminal and you will see the actual error.
Depending on my project i need to add 7.. 8 resource folders