Fix launch app issue on windows.