Displaying dialog MessageBox after reopening app with makeSingleInstance()


I’m struggling with displaying warning message for users that are trying to run multiple instances of application. Do you Guys have any sugestions or ideas how to deal with it?

All the Best, Kacper


The makeSingleInstance() callback doesn’t seem to work.


How are you trying to display a message box? makeSingleInstance is called on app which only runs in the main process. You may have to send an event using ipcMain to the renderer process if you want to show a message box from there.