I guess this can also be treated as a request to add this to the tutorials… but right now I just want help!
I’d like to get the nodejs tutorial example packaged as a binary for linux (and other targets maybe, but right now linux is fine).
My first thought is just to copy the stuff from the SAFE Browser or Peruse. Example from SAFE Browser package.json:
Is that a good route, and if so any reason to choose one or the other (they appear significantly different), or is there an easier way?
Thanks.
UPDATE: Looking at SAFE-CMS this might be easier for now:
There’s also the Web Hosting Manager but this looks crazy :
https://github.com/maidsafe/safe_examples/blob/master/web_hosting_manager/package.json#L19
Looking at the awesome-electron#boilerplates I see the one below includes building for targets and looks simple compared to most of the above.
So which to choose - why do our apps (browser, web hosting manager) seem so much more complex and have more parameters on the build script itself? I’m guessing that’s needed (as SAFE-CMS looks similar) but why is that, compared to this:
https://github.com/sindresorhus/electron-boilerplate/blob/master/boilerplate/package.json#L13
Any recommendations? I think I’ll try following SAFE-CMS (because it is both simple and works with SAFE) and see how far I get with that, but please jump in if you have any suggestions.