app.makeSingleInstance issue on windows


app.makeSingleInstance returns true for my windows app, though I checked for the electron-api-demos it works fine on windows. Could you suggest something what could be the issue ? Probably something I am doing wrong !!


app.makeSingleInstance will return false for the primary(first) instance by default. Subsequnt instances will then return true.
Post your code section for better help