add support for pyinstaller for desktopapp