[Win32] Fix output exes in bbfreeze
This commit is contained in:
parent
7532d4d333
commit
ff6b52edc6
|
@ -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.
|
# 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.
|
# 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 = []
|
script_list = []
|
||||||
for script in glob.glob(os.path.join(python_path, "Scripts\\deluge*-script.py*")):
|
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.
|
# Copy the scripts to remove the '-script' suffix before adding to freezer.
|
||||||
|
|
Loading…
Reference in New Issue