mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
don't depend on being executed from a specific directory
This commit is contained in:
parent
6f0c2af58a
commit
14a89b3f8a
1 changed files with 8 additions and 6 deletions
|
@ -28,12 +28,14 @@ f() # starts the freezing process
|
|||
|
||||
# add icons to the exe files
|
||||
import icon
|
||||
icon.CopyIcons(dst+"deluge.exe", "deluge.ico")
|
||||
icon.CopyIcons(dst+"deluge-debug.exe", "deluge.ico")
|
||||
icon.CopyIcons(dst+"deluged.exe", "deluge.ico")
|
||||
icon.CopyIcons(dst+"deluge-web.exe", "deluge.ico")
|
||||
icon.CopyIcons(dst+"deluge-gtk.exe", "deluge.ico")
|
||||
icon.CopyIcons(dst+"deluge-console.exe", "deluge.ico")
|
||||
|
||||
icon_path = os.path.join(os.path.dirname(__file__), "deluge.ico")
|
||||
icon.CopyIcons(dst+"deluge.exe", icon_path)
|
||||
icon.CopyIcons(dst+"deluge-debug.exe", icon_path)
|
||||
icon.CopyIcons(dst+"deluged.exe", icon_path)
|
||||
icon.CopyIcons(dst+"deluge-web.exe", icon_path)
|
||||
icon.CopyIcons(dst+"deluge-gtk.exe", icon_path)
|
||||
icon.CopyIcons(dst+"deluge-console.exe", icon_path)
|
||||
|
||||
# exclude files which are already included in GTK or Windows
|
||||
excludeFiles = ("MSIMG32.dll", "MSVCR90.dll", "MSVCP90.dll", "POWRPROF.dll", "freetype*.dll", "iconv.dll", "intl.dll", "libatk*.dll", "libcairo*.dll", "libexpat*.dll", "libfontconfig*.dll", "libfreetype*.dll", "libgio*.dll", "libpng*.dll", "libtiff*.dll", "zlib1.dll")
|
||||
|
|
Loading…
Add table
Reference in a new issue