Electron-packager Web solution securiy


#1

I have a web solution mostly using HTML, JQuery, JavaScript, CSS and node.js

I can successfully use electron packager to generate an EXE and ASAR to run it as a Desktop Application.

My problem is that I want to distribute this application but hide the JavaScript code which contains my business logic.

Is it possible?, if yes then How can I do it?

Regards


#2

There is a FAQ for this here:

Also keep in mind:


#3

Hi Lee

Thanks for your reply.

I have one more question.

If I use any obfuscation technique for my JavaScript and if it works well on my Apache Server using Chrome does that mean it will also work after I pack my application using Electron-Packager and run the EXE?

Regards

Rajeev


#4

To be honest, I have no idea. I haven’t tried obfuscating any code for an Electron app. I assume that if it is still fully executable JavaScript code it should work though.