show icon on dock when main window open
-
I want the cookieApp to hide the icon in the dock when it is running in the background (show in menu bar).
But when I open any window of cookieApp, I want it to display an icon in the dock, otherwise it is very difficult to find the window of cookieApp when there are too many windows(apps), and i can't switch to cookieApp through the cmd+tab shortcut key.