Improve deployment for desktop version.