How to programmatically change the index.html and index.css in a electron app build by electron-builder

124 Views Asked by At

I have build an application in electron that has an open port that waits for configuration to be send. On my development environment once I send a configuration the index.html and index.css change the then the main window is reloaded.

However, when the application is packaged with electron-builder the index.html and index.css do not change.

The application still listens and replies back correctly.

I know that the whole of the application gets packaged into the app.asar and that it basically is an archive.

Is there a way that the two files I want to be changing programmatically to either not be included in the app.asar or any other solution.

0

There are 0 best solutions below