I want to open externally a local file, using a firefox plugin I managed to open it from the browser. But in electron JS when I click on the "exe", a pop-up to download the file appears. How do I open my file locally ? Example :
<div class="1"><a href="file:///myPathToFile">Press Me</a></div>
<div class="2"><a href="file:///myPathToFile2">Press Me</a></div>
I didn't know how to integrate the shell or child command.
Edit : Tried webPreferences: { webSecurity: false } to enable file://
but didn't work.