neutralinojs-cli
neutralinojs-cli copied to clipboard
AuthInfo being exported even with `exportAuthInfo: false`
Describe the bug
The ./.tmp/auth_info.json
file is always generated, ignoring the exportAuthInfo
config property
To Reproduce Steps to reproduce the behavior:
- Set
"exportAuthInfo": false
in theneutralino.config.json
- Run the app with
neu run
- The
./.tmp/
folder is created with aauth_info.json
file inside
Expected behavior
No ./.tmp/
folder or auth_info.json
file should be created
Specifications
- OS: Windows 10 x64
- Neutralinojs version: v4.5.0
- Neutralinojs v3.4.0
- Neutralinojs CLI version: v9.3.0
Was able to successfully reproduce this. Thanks for giving the steps. Will try to resolve the bug.
@NemoStein Please check out this pull request. Hopefully, this should do the job. Consider closing the issue once you find the error to be resolved. You can speedup the merge time by checking / testing it locally and dropping an approval message on the pull request. Thankyou
Please note that the neu run
command needs this exportAuthInfo: true
configuration to properly connect with the Neutralinojs app, so the CLI program internally sets it. But, the production app won't automatically set this auth-related configuration.