neutralinojs-cli icon indicating copy to clipboard operation
neutralinojs-cli copied to clipboard

Add feature to customize distribution path

Open pathange-s opened this issue 2 years ago • 1 comments

  • Fixes #178

Testing it

  • Edit the neutralino.config.json with, for example : "distributionPath": "/dist-game/" field added to it.
  • Run neu build or neu build --release or neu build --copy-storage
  • The distribution files corresponding to the build command gets loaded in the customized distribution path provided in the config (dist-game in this case).

pathange-s avatar Jul 17 '22 11:07 pathange-s

The tests failed because there was no default distributionPath variable in the config.json. Merge this priory is necessary inorder to test this pull request.

pathange-s avatar Jul 17 '22 12:07 pathange-s

Hey.. thanks for this nice idea @pathange-s. Could you please do the following changes if you have some time:

  • Use dist as the default value (Then, this feature won't break all templates ;) )
  • Move distributionPath under cli for better grouping

We can merge this after the above changes.. Thanks :tada:

shalithasuranga avatar Dec 14 '22 09:12 shalithasuranga

Hey.. I am closing this one, feel free to re-open after adding suggested modifications :) Thanks so much :tada:

shalithasuranga avatar Apr 25 '23 06:04 shalithasuranga