Bug Description
When creating a new Neutralinojs application using the CLI:
neu create
cd
neu run
the application logs the following error during runtime:
Unable to load application resource file /resources/favicon.ico
Expected Behavior
A newly created project should not produce resource-related error logs by default, especially for optional assets like favicon.ico.
Actual Behavior
The generated project does not include a favicon.ico file inside the resources/ directory, which results in error messages being shown during runtime.
Root Cause
The default template (neutralinojs/neutralinojs-minimal) does not include a favicon.ico file.
Suggested Improvement
- Either include a default
favicon.ico in the template
OR
- Provide a clear warning during project creation indicating that the file is optional but recommended
Environment
- OS: Windows
- CLI Version: (run
neu version)
- Node.js Version: (run
node -v)
Additional Context
This may be confusing for beginners who might interpret this as a critical runtime error.
I’d be happy to work on a fix for this issue .
Bug Description
When creating a new Neutralinojs application using the CLI:
neu create
cd
neu run
the application logs the following error during runtime:
Unable to load application resource file /resources/favicon.ico
Expected Behavior
A newly created project should not produce resource-related error logs by default, especially for optional assets like
favicon.ico.Actual Behavior
The generated project does not include a
favicon.icofile inside theresources/directory, which results in error messages being shown during runtime.Root Cause
The default template (
neutralinojs/neutralinojs-minimal) does not include afavicon.icofile.Suggested Improvement
favicon.icoin the templateOR
Environment
neu version)node -v)Additional Context
This may be confusing for beginners who might interpret this as a critical runtime error.
I’d be happy to work on a fix for this issue .