I have an electron app with an option in it to "auto-pop" the application if a notification comes in. Using the following bit of code this works perfectly on a Mac, wh