hey - I’m trying to reproduce the mac app behavior that an app stays open after it’s windows are closed, and then when you click on the app icon again, it opens the window back up.
I’m pretty sure I can keep the process alive after the window is closed, but how do I get the event that the app icon was clicked so I know when to open the window back up?