Fix console popup when start app in windows.