neutralinojs-cli icon indicating copy to clipboard operation
neutralinojs-cli copied to clipboard

AuthInfo being exported even with `exportAuthInfo: false`

Open NemoStein opened this issue 2 years ago • 2 comments

Describe the bug The ./.tmp/auth_info.json file is always generated, ignoring the exportAuthInfo config property

To Reproduce Steps to reproduce the behavior:

  1. Set "exportAuthInfo": false in the neutralino.config.json
  2. Run the app with neu run
  3. The ./.tmp/ folder is created with a auth_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

NemoStein avatar May 10 '22 17:05 NemoStein

Was able to successfully reproduce this. Thanks for giving the steps. Will try to resolve the bug.

pathange-s avatar May 10 '22 17:05 pathange-s

@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

pathange-s avatar May 10 '22 17:05 pathange-s

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.

shalithasuranga avatar May 06 '24 12:05 shalithasuranga