V
V
Vitaly2016-07-11 11:26:11
JavaScript
Vitaly, 2016-07-11 11:26:11

Is it possible to hide the source files of a compiled electron application?

All the best!
I am writing a simple desktop application on electron . I compiled it using 'electron-packager'
As a result, for the Windows platform there is an exe file, a bunch of others, and a resource folder where my HTML and JavaScript are actually located .
Somehow this is not safe, in the same place someone can edit it, etc. ...
How to compile applications so that there are no such holes?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
napa3um, 2016-07-11
@napa3um

If you just want to hide the application resources from your eyes, try https://github.com/electron/asar . But you will have to encrypt the source code in the container yourself if you want to hide it from more advanced "hackers".

R
Rou1997, 2016-07-11
@Rou1997

It is possible to edit in any case, even machine code compiled for rare architectures is edited, for me the ability to edit the programs that I use, as well as open source code, is a plus, not a minus, you can modify something for your needs, and if you have some kind of secret algorithm applied, then obfuscate it, put it on the server, apply encryption, etc., and leave the rest.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question