electron-archive / grunt-electron-installer

Grunt plugin to build Windows installers for Electron apps
MIT License
398 stars 106 forks source link

Allow custom template.nuspec #89

Open fasterthanlime opened 8 years ago

fasterthanlime commented 8 years ago

Clearly marked as advanced feature, yada yada, even undocumented for now if maintainers wish, but there's two issues preventing windows installer builds on Linux in the current template:

ideally grunt-electron-installer would work around these out of the box, but in the meantime being able to pass a path to a template.nuspec file to be used would be very very cool.

fasterthanlime commented 8 years ago

Implemented here: https://github.com/atom/grunt-electron-installer/compare/master...itchio:patch-custom-nuspec — waiting for Squirrel.Windows changes to land before opening PR

anaisbetts commented 8 years ago

The custom nuspec might be interesting, but we should also make grunt-electron-installer silently fix this up

fasterthanlime commented 8 years ago

we should also make grunt-electron-installer silently fix this up

Right, but I saw no good immediate option (either use regular expressions and risk overshooting, or parse xml + re-emit it and then you have a dependency on an XML parser, an XML generator :/)

Or.. two sets of template? Or make the whole path list be a 'variable' in the template and generate that from the task itself?

The part that annoys me the most is having to drop 'LICENSE' because of that NuGet bug that only happens on Mono. :cry:

anaisbetts commented 8 years ago

The part that annoys me the most is having to drop 'LICENSE' because of that NuGet bug that only happens on Mono. :cry:

Yeah :-/