I am using NW.js to create desktop app. In am using nwjs-builder-phoenix to build an executable file, I am experiencing an issue where the .env file is not being included in the OS-specific folders inside the dist folder. This causes environment variables to not be accessible when I run the build. Can anyone explain the reason fpr this behavior and how can I solve it ? Is there any additional configuration required to make it work ?
I tried copying over an .env file into OS-Specific folder, then it works, I cannot put env file openly in the folder, because after makin it live user can see those files. There must be something build process for env files in nwjs-builder-phoenix.
Vivek sarvaiya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.