getlantern / systray

a cross platfrom Go library to place an icon and menu in the notification area
Apache License 2.0
3.28k stars 451 forks source link

Fix: Hide black console window at application start. #246

Open nafigator opened 1 year ago

nafigator commented 1 year ago

Despite that pShowWindow.Call() with SW_HIDE at application init, right after start console window still hangs on. So there is need to get this console handler and minimize it. Exactly this is what this commit does.