Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New --config-file option needs prepended slash #1182

Open
kedodrill opened this issue Dec 12, 2023 · 1 comment
Open

New --config-file option needs prepended slash #1182

kedodrill opened this issue Dec 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@kedodrill
Copy link

Describe the bug
I attempted to use the new --config-file option with a different config file and got the error "file missing or corrupted". I noticed in settings.h that the default has a slash prepended to it. Once I added that, it worked.

I am on Linux so this may be different from the behavior on Windows / Mac. The documentation just says to use a string with no slash, which I am assuming works elsewhere. However, the option did not work for me on Linux without the slash.

To Reproduce
Run an app with the --config-file option on Linux with no prepended slash

Expected behavior
For the app to run as it would typically, but with a different config file

Specifications

  • OS: Void Linux, glibc, x86_64
  • Neutralinojs version: 4.15.0
  • Neutralinojs client library version: 3.12.0
  • Neutralinojs CLI version: 10.1.0
@kedodrill kedodrill added the bug Something isn't working label Dec 12, 2023
@yashkhandelwal123
Copy link

Hi, I would like to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants