This took some doing, but fixed the service removal thanks to ES6
Promises and a lot of detective work.
Also removed Auth0, and replaced it with a human-readable JSON
exporter/importer that works in the same way.
The upstream build script was running a full npm install instead of
taking advantage of electron-builder. This should prevent unnecessary
package recalculation for both regular node packages and recompilation
of native dependencies.
rimraf was in normal dependencies, but without squirrel can live in
devDependencies instead.
This should decently speed up all forms of package building.
Also make them more sensible and user-friendly overall, relatively.
Update README with the commands and better instructions.
Important: This ensures that the commands issued by build are
cross-platform in nature instead of hoping. rimraf, cpy, etc.
There doesn't appear to be much reason to avoid this, and it solves 85
active known vulnerabilities in the various packages pulled into rambox.
WARNING: This includes electron 2.0.2. This is probably a good idea, it
works in my testing, there don't appear to be breaking changes, but this
needs extra testing, I'm sure.
Extra WARNING: This also includes a sencha cmd app update for good measure.
An ExtJS framework update is left for another time.
- This must be initialized once in the app itself, which makes the
context menu work correctly in the main Rambox window.
- Aside from that, each webview needs to be initialized with
electron-context-menu as well.
- I'm currently running a custom fork with this functionality added
and everything works exactly as expected.