Restore minimized app on MacOS

I’ll second the request for an example. See HOWTO: Get help with a small runnable sample