3 ms·
Was recently looking for information on building desktop apps with Electron or NW.js. Found a few useful links regarding source code protection. In short: Docum
by SingAlong 11y ago
Was recently looking for information on building desktop apps with Electron or NW.js. Found a few useful links regarding source code protection. In short: Documented method is v8 snapshots. They are compiled code, run slower and are not cross platform.
* Using v8 snapshots - https://github.com/nwjs/nw.js/wiki/Protect-JavaScript-source-code-with-v8-snapshot https://github.com/nwjs/nw.js/wiki/Protect-JavaScript-source...
* Electron thread about source code protection - https://github.com/atom/electron/issues/3041 https://github.com/atom/electron/issues/3041
The second link has a lot of comments with useful information. One of them mentions that v8 snapshot format is documented and also that the actual code is shipped with the snapshot for future optimizations. nw.js just removes the sourcecode from the snapshot.
I'm curious if there is any reliable means of source code protection for Electron or NW.js apps.