Displaying dialog MessageBox after reopening app with makeSingleInstance()


#1

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


#2

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


#3

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.