I've discovered that the single instance callback function after initialization doesn't work when the app is not visible (I call window.hide() function). What I want to do is to show the app again when another instance is opened by using window.show(). Running window.miniminize() makes the single instance work but I'm hoping to use the hide() function. I also tried the one from the v2 docs about focusing on the new instances and it also does not work. Please help, thank you! 🙏
Hi,
I've discovered that the single instance callback function after initialization doesn't work when the app is not visible (I call
window.hide()
function). What I want to do is to show the app again when another instance is opened by usingwindow.show()
. Runningwindow.miniminize()
makes the single instance work but I'm hoping to use thehide()
function. I also tried the one from the v2 docs about focusing on the new instances and it also does not work. Please help, thank you! 🙏