2

Is there some way to Obfuscate the code that is inside the resources.neu file? It can be read in any text editor... it contains the CSS HTML and JS content. Not a big problem but can it be done? Thanks

José
  • 33
  • 2

2 Answers2

1

As of January 2022 Neutralino Uses Electron's Asar Format to bundle all the files together at one place which can be easily uncompressed using the same tool.

You can use code Bundlers like ES Build or Webpack which will bundle and minify your Code and your bundled code is pretty much unreadable.

For Webpack there is a plugin Webpack Obfuscator which can be used to obfuscate your code even more.

Aditya
  • 1,132
  • 1
  • 9
  • 28
1

The .neu file is generated when you build your neutralino app, so you should obfuscate your source files first, and only then, build your neutralino app. The generated .neu file will contain the obfuscated code. To obfuscate your code there are a few solutions available, but Jscrambler seems to offer the most complete suite.

Carl Rck
  • 311
  • 1
  • 7