From 52ef78a00798639e18844d8e4b69efc0aa69ea26 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 4 Sep 2016 20:13:51 -0700 Subject: [PATCH] Build the cx_Freeze Windows GUI in window mode instead of console mode --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 34a04a92..ce50255f 100644 --- a/setup.py +++ b/setup.py @@ -76,8 +76,6 @@ os = platform.system() if os == 'Windows': from cx_Freeze import setup, Executable - #base = "Win32GUI" - base = None setup( name="onionshare", version=version, @@ -91,8 +89,8 @@ if os == 'Windows': } }, executables=[ - Executable("install/scripts/onionshare", base=base), - Executable("install/scripts/onionshare-gui", base=base) + Executable("install/scripts/onionshare", base=None), + Executable("install/scripts/onionshare-gui", base="Win32GUI") ] )