Answer the question
In order to leave comments, you need to log in
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
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".
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 questionAsk a Question
731 491 924 answers to any question