Adding a Dock icon in MAC OS via the installer has been answered in this link. However, when the Dock icon is added, it opens up all the minimized windows. If there are 10 windows minimized, all are getting opened up. This happens because of refreshing the Dock using the following XML code in the installer,
This seems to be mandatory in order for the added Dock icon to be shown. So when the Dock is refreshed how to prevent it from opening up all the minimized windows?
asked 03 Feb '16, 11:22
I'm afraid that it's a limitation of the Dock itself. It seems that it's the regular behaviour when restarting the Dock. As an alternative, you can skip restarting it and show a message saying the icon will appear after the next reboot / login.
answered 04 Feb '16, 07:02