neutralinojs / neutralinojs-cli

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

:sparkles: Set icons and metadata to Windows executables #268

Open CosmoMyzrailGorynych opened 1 month ago

CosmoMyzrailGorynych commented 1 month ago

Closes the following issues:

This PR allows the neu build command to patch Windows executables with user-provided metadata and icon. This all is fully cross-platform. Icons are accepted in PNG format for ease of use and use in possible further improvements on making MacOS or Linux packages.

This introduces the following optional keys to neutralino.config.json: (the keys are top-level)

Two npm packages were introduced as direct dependencies:

No native or platform-specific dependencies. Yay!

Possible backwards incompatibility:

I'm open to improvements of this PR and will also make a PR for docs if/when this gets approved.

CosmoMyzrailGorynych commented 1 month ago

Example output: изображение

Not setting any of the new fields and not setting an icon still produces a .exe with a nice icon: изображение