brzpegasus / ember-cli-nwjs

An addon for building desktop apps with Ember and NW.js
MIT License
125 stars 17 forks source link

nw:package hooks? #47

Open Kilowhisky opened 8 years ago

Kilowhisky commented 8 years ago

Is there any way to hook into the nw:package command and add additional work? I'd like to add code to wrap this in an inno installer after the application has been packaged.

brzpegasus commented 8 years ago

Not at the moment, but that sounds like an interesting idea. I can see adding an installer as a commonly desired packaging step. I'd have to explore options for providing hooks so you can specify additional packaging logic within your consuming app.

At the moment, the most you might be able to do is to create a new command within your Ember app that invokes the nw:package command then starts the Inno installer wrapping immediately after the packaging process exits.