neutralinojs / neutralinojs-cli

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

feat: add configuration check before running or building #251

Closed viralgupta closed 3 months ago

viralgupta commented 4 months ago

Before running or building a app we only checked if neutralino.config.json exists or not, i spent a long time to figure out that my json file was not valid json, i have added check which verifies if the config is valid json or not, and also checks if the required properties (applicationId, defaultMode, url) are there or not.

This is the screenshot of error when the configuration JSON was not valid.

Screenshot 2024-03-24 222407