summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2015-09-13 22:47:31 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2015-09-13 22:53:28 +0100
commitff6b52edc6766c5a90b65857e469db06002c5d37 (patch)
treec4c1df2c93563795464012024fe42cb50445483b /packaging
parent7532d4d3336cc744743989f7e06278a51ccdae48 (diff)
downloaddeluge-ff6b52edc6766c5a90b65857e469db06002c5d37.tar.gz
deluge-ff6b52edc6766c5a90b65857e469db06002c5d37.tar.bz2
deluge-ff6b52edc6766c5a90b65857e469db06002c5d37.zip
[Win32] Fix output exes in bbfreeze
Diffstat (limited to 'packaging')
-rw-r--r--packaging/win32/deluge-bbfreeze.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/packaging/win32/deluge-bbfreeze.py b/packaging/win32/deluge-bbfreeze.py
index 83d9c492f..795b675d4 100644
--- a/packaging/win32/deluge-bbfreeze.py
+++ b/packaging/win32/deluge-bbfreeze.py
@@ -86,7 +86,12 @@ fzr.setIcon(os.path.join(os.path.dirname(deluge.common.__file__), "ui", "data",
# TODO: Can/should we grab the script list from setup.py entry_points somehow.
# Hide cmd console popup for these console entries force gui_script True.
-force_gui = ["deluge-web", "deluged", "deluge-console"]
+force_gui = ["deluge-web", "deluged"]
+
+for force_script in force_gui:
+ script_path = os.path.join(python_path, "Scripts", force_script + "-script.py")
+ shutil.copy(script_path, script_path.replace("script", "debug-script"))
+
script_list = []
for script in glob.glob(os.path.join(python_path, "Scripts\\deluge*-script.py*")):
# Copy the scripts to remove the '-script' suffix before adding to freezer.