From d1241797b97c925249583a17d2e7ac0aed438946 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Thu, 20 Apr 2017 17:48:07 -0700 Subject: [PATCH] deploy-ng: Fix swapped console and gui apps on Windows --- direct/src/showutil/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showutil/dist.py b/direct/src/showutil/dist.py index ba3e3d2f91..0dd3772389 100644 --- a/direct/src/showutil/dist.py +++ b/direct/src/showutil/dist.py @@ -132,7 +132,7 @@ class build_apps(distutils.core.Command): stub_name = 'deploy-stub' if platform.startswith('win'): - if use_console: + if not use_console: stub_name = 'deploy-stubw' stub_name += '.exe'