I am using electron to launch a url using win.loadURL("/").
I was wondering if I could make electron show an alert when the window is opened. I am trying to let someone know something when they open said session using npm run
I figured it out.
dialog.showErrorBox('Title', 'Prompt text')
This shows an ERROR (X) but works as needed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With