Sfoglia il codice sorgente

deploy-ng: Fix swapped console and gui apps on Windows

Mitchell Stokes 8 anni fa
parent
commit
d1241797b9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      direct/src/showutil/dist.py

+ 1 - 1
direct/src/showutil/dist.py

@@ -132,7 +132,7 @@ class build_apps(distutils.core.Command):
 
 
                 stub_name = 'deploy-stub'
                 stub_name = 'deploy-stub'
                 if platform.startswith('win'):
                 if platform.startswith('win'):
-                    if use_console:
+                    if not use_console:
                         stub_name = 'deploy-stubw'
                         stub_name = 'deploy-stubw'
                     stub_name += '.exe'
                     stub_name += '.exe'