Changeset 1b974d


Ignore:
Timestamp:
09/13/2015 09:47:31 PM (10 years ago)
Author:
Calum Lind <calumlind+deluge@gmail.com>
Children:
cdf3016
Parents:
602a91
Message:

[Win32] Fix icon path and output exes in bbfreeze

Location:
win32
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • win32/deluge-bbfreeze.py

    r602a91 r1b974d  
    8383fzr = bbfreeze.Freezer(build_dir, includes=includes, excludes=excludes)
    8484fzr.include_py = False
    85 fzr.setIcon(os.path.join(os.path.dirname(deluge.common.__file__), "ui", "data", "pixmaps", "deluge.ico"))
     85fzr.setIcon(os.path.join(os.path.dirname(deluge.common.__file__), "data", "pixmaps", "deluge.ico"))
    8686
    8787# TODO: Can/should we grab the script list from setup.py entry_points somehow.
    8888
    8989# Hide cmd console popup for these console entries force gui_script True.
    90 force_gui = ["deluge-web", "deluged", "deluge-console"]
     90force_gui = ["deluge-web", "deluged"]
     91
     92for force_script in force_gui:
     93    script_path = os.path.join(python_path, "Scripts", force_script + "-script.py")
     94    shutil.copy(script_path, script_path.replace("script", "debug-script"))
     95
    9196script_list = []
    9297for script in glob.glob(os.path.join(python_path, "Scripts\\deluge*-script.py*")):
Note: See TracChangeset for help on using the changeset viewer.