Skip to content

Make Grunt tool building task work for Windows too #95

Description

@meldckn

When you add win64 to the nwjs platforms option of the Gruntfile, it will silently fail without errors when building, and produce a blank nwjs exe.

It would be very helpful if we didn't have two separate, unrelated processes for building Mac and Windows apps. It would mean you don't have to do two different kinds of updating when you want to update nwjs to support modern JavaScript, for example.

The only related issue I could find: This might be because Windows does not allow path names over 256 characters, and we probably have well-nested node_modules directories (somewhere among our 340 installed npm modules!). See discussions on nwutils/nw-builder#107 and nwjs/grunt-nw-builder#118. But I don't think our node modules get packaged with the app? Oh wait I think nwjs automatically looks for a node_modules directory and packages it?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions