I have my Azure pipeline generating a .exe installer file to be downloaded by user when clicking a download button in web application. The user will be able to install the electron application through the .exe.
In the electron application, I have a text input to be set by the user with the Base URL of the web application when starting it. I would like to have it filled with the Base URL as default so the user does not need to enter it manually.
My problem is that the application is published in different domains for example (customerone.com and customertwo.com) and I have no information of the Base URL when generating the .exe. I have this base URL only at the moment of the button click to download the file.
Is there a good approach to solve it?