rename HUD_main from .py to .pyw as well

This commit is contained in:
sqlcoder 2010-06-06 21:03:03 +01:00
parent 1aafe79b4a
commit 1c897e54d5
3 changed files with 3 additions and 3 deletions

View File

@ -199,10 +199,10 @@ class GuiAutoImport (threading.Thread):
bs = 0 bs = 0
elif os.name == 'nt': elif os.name == 'nt':
path = sys.path[0].replace('\\','\\\\') 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 bs = 0
else: 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']) command = [command, ] + string.split(self.settings['cl_options'])
bs = 1 bs = 1

View File

@ -131,7 +131,7 @@ setup(
version = '0.12', version = '0.12',
windows = [ {'script': 'fpdb.pyw', "icon_resources": [(1, "../gfx/fpdb_large_icon.ico")]}, windows = [ {'script': 'fpdb.pyw', "icon_resources": [(1, "../gfx/fpdb_large_icon.ico")]},
{'script': 'HUD_main.py', }, {'script': 'HUD_main.pyw', },
{'script': 'Configuration.py', } {'script': 'Configuration.py', }
], ],