neutralinojs / neutralinojs-cli

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

neu update should update the neutralino.js file as well #247

Closed hschneider closed 3 months ago

hschneider commented 6 months ago

Is your feature request related to a problem? Please describe. The current situation is that the nightly built brings breaking changes to the extension binding, which goes into the Neutralino binaries and the neutralino.js file. It is not possible to update to a complete nightly build via neu update because the js-file remains the old one.

Describe the solution you'd like neu update should update neutralino.js as well.

Describe alternatives you've considered A hint to update neutralino.js manually at the end of the update process.

Additional context https://github.com/neutralinojs/neutralinojs/issues/1191

Sadaf-A commented 5 months ago

@shalithasuranga hey I believe this belongs in the https://github.com/neutralinojs/neutralinojs-cli repository

shalithasuranga commented 3 months ago

Hello, the neu update command typically updates the client library (neutralino.js) if the following criterias are ok:

  1. cli.clientLibrary has the path of the neutralino.js file
  2. cli.clientVersion has the version that you need (i.e., nightly)

However, you can get the latest client version (and the framework version as well) immediately by entering the neu update --latest command.

We can re-open this issue if the issue really exists even after double-checking based on this comment's guide :) Thanks