rename HUD_main from .py to .pyw as well
This commit is contained in:
parent
1aafe79b4a
commit
1c897e54d5
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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', }
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user