And also the package.json which, for reasons I'm not going to spend
the next two hours of my life wading through the electron-builder
source to discover, is no longer automatically included after adding
the files pattern. The node_modules folder is handled automatically
though, so is redundant.
Change the output directory structure so we have one directory with
all the built native modules under that we can just add to the files,
rather than having to add each one separately.
NB. electron-builder add its own filters to node_modules so that only
runtime (ie. not devDependencies) are copied. These seem to apply
even for manually specified path within node_modules. We can copy *to*
the node_modules directory, however...
Convert the check script to a script that sets the version to match
whatever Riot is being packaged.
Add a README because the two ways of interacting with versions are
starting to get complex to reason about.
Also add a docker build script.
* Replace the windows signing script with certificateSubjectName
option which finds the right certificate from the smart card
* Remove the windows signing script as electron-builder does it
out-of-the-box on windows
* Remove the cert file which isn't necessary with native signing
* Remove install:electron - it ran install-app-deps which makes sure
native deps are installed but the native deps we use don't work
with electron-builder anyway (they don't use binding.gyp) so this
does absolutely nothing at all.
* Rename build:electron to build (there is only one thing to build
now).