From 544a6828911e3caf7e78531ce60f0177c8a14487 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Sun, 6 Jun 2010 09:01:26 +0100 Subject: [PATCH] rename fpdb.py to fpdb.pyw makes it run smoother from .exe (no dos window) --- pyfpdb/{fpdb.py => fpdb.pyw} | 0 pyfpdb/py2exe_setup.py | 2 +- run_fpdb.bat | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename pyfpdb/{fpdb.py => fpdb.pyw} (100%) diff --git a/pyfpdb/fpdb.py b/pyfpdb/fpdb.pyw similarity index 100% rename from pyfpdb/fpdb.py rename to pyfpdb/fpdb.pyw diff --git a/pyfpdb/py2exe_setup.py b/pyfpdb/py2exe_setup.py index 0db53a40..b734f923 100644 --- a/pyfpdb/py2exe_setup.py +++ b/pyfpdb/py2exe_setup.py @@ -130,7 +130,7 @@ setup( description = 'Free Poker DataBase', version = '0.12', - console = [ {'script': 'fpdb.py', "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': 'Configuration.py', } ], diff --git a/run_fpdb.bat b/run_fpdb.bat index 98774aa0..4bd815b9 100755 --- a/run_fpdb.bat +++ b/run_fpdb.bat @@ -3,5 +3,5 @@ rem .bat script to run fpdb cd pyfpdb -fpdb.exe +start /b fpdb.exe >fpdb_output.txt