From 1c897e54d5403b6128b5690f8b8a27cef335bd32 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Sun, 6 Jun 2010 21:03:03 +0100 Subject: [PATCH] rename HUD_main from .py to .pyw as well --- pyfpdb/GuiAutoImport.py | 4 ++-- pyfpdb/{HUD_main.py => HUD_main.pyw} | 0 pyfpdb/py2exe_setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename pyfpdb/{HUD_main.py => HUD_main.pyw} (100%) diff --git a/pyfpdb/GuiAutoImport.py b/pyfpdb/GuiAutoImport.py index ab471fe5..4db85872 100755 --- a/pyfpdb/GuiAutoImport.py +++ b/pyfpdb/GuiAutoImport.py @@ -199,10 +199,10 @@ class GuiAutoImport (threading.Thread): bs = 0 elif os.name == 'nt': path = sys.path[0].replace('\\','\\\\') - command = 'python "'+path+'\\HUD_main.py" ' + self.settings['cl_options'] + command = 'pythonw "'+path+'\\HUD_main.pyw" ' + self.settings['cl_options'] bs = 0 else: - command = os.path.join(sys.path[0], 'HUD_main.py') + command = os.path.join(sys.path[0], 'HUD_main.pyw') command = [command, ] + string.split(self.settings['cl_options']) bs = 1 diff --git a/pyfpdb/HUD_main.py b/pyfpdb/HUD_main.pyw similarity index 100% rename from pyfpdb/HUD_main.py rename to pyfpdb/HUD_main.pyw diff --git a/pyfpdb/py2exe_setup.py b/pyfpdb/py2exe_setup.py index b734f923..15c834b5 100644 --- a/pyfpdb/py2exe_setup.py +++ b/pyfpdb/py2exe_setup.py @@ -131,7 +131,7 @@ setup( version = '0.12', windows = [ {'script': 'fpdb.pyw', "icon_resources": [(1, "../gfx/fpdb_large_icon.ico")]}, - {'script': 'HUD_main.py', }, + {'script': 'HUD_main.pyw', }, {'script': 'Configuration.py', } ],