neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 56 forks source link

feat: Check Template Validity before downloading #256

Closed viralgupta closed 3 months ago

viralgupta commented 4 months ago

right now we dont have a check before downloading the zip to determine if a template is a valid template or not, and the app exits with error not telling the actual issue, I have added a check before downloading the template if neutralino.config.json file exists in root directory of the template repository or not to determine if the template is valid or not.

Previous Error image

Current Error image

shalithasuranga commented 3 months ago

Note: Some updates done via https://github.com/neutralinojs/neutralinojs-cli/commit/29c7c184dc9d0c1b808d1f45a95b9516abb1d332

viralgupta commented 3 months ago

Thank you sir, for refactoring my code. I'll aim to write better code in the future.