I have packed my Electron application using the following command: asar pack app app.asar Now, I need to unpack it and get the whole code back. Is there any way to do so?
I would like, from the Electron index.html file, to modify a config file present in the .asar of my application. In my case I need to change, if necessary, my application database config in order t...
I have an Electron application packaged into an asar file. However, it's mentioned almost everywhere that there's no security at all for that format. Everyone can unpack it with npx asar extract ap...
App.asar file is generated after building my electron app. Security concern is that " app.asar " file is being de-obfuscated, and main.js file is modifiable. I need to protect my app.asar file to get extracted by any external tool or be modifiable.
When I set "asar": false in electron-builder.json, the MSI installer is created, but I get the warning asar usage is disabled — this is strongly not recommended, it takes forever (i.e. 30-ish minutes) to build and the MSI packet is almost 1.5 GB in size. Does anybody know how I can reduce the asar size? This is my project structure:
When I run "build", the project is built and there's a build folder with everything in it, which is then used by electron to create the app.asar file. When I extract the contents, I see following structure:
javascript - How to modify the folder structure of app.asar when using ...
I don't know how vue bundles your files, but extraResources and extraFiles in the electron-builder config does exactly the opposite of what you want to do: include files in the installer but outside of the asar. The files array may do the trick, as it specifies which files are to be included into the bundle.