summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Churchill <damoxc@gmail.com>2010-10-31 09:18:36 +0000
committerDamien Churchill <damoxc@gmail.com>2010-10-31 09:18:36 +0000
commitcc02ebea6a6cb0318358916ce218f309d1b9f61c (patch)
treecaed0e1b7d35b9e1f3cacea2d54f137d9966798a
parent41ffee5d8a612741d1fb5f3f4fd0fca00754f392 (diff)
parent14a89b3f8ae823c9116d369c9f706ce815c90b3d (diff)
downloaddeluge-cc02ebea6a6cb0318358916ce218f309d1b9f61c.tar.gz
deluge-cc02ebea6a6cb0318358916ce218f309d1b9f61c.tar.bz2
deluge-cc02ebea6a6cb0318358916ce218f309d1b9f61c.zip
Merge branch '1.3-stable' of deluge-torrent.org:deluge into 1.3-stable
-rw-r--r--win32/deluge-bbfreeze.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/win32/deluge-bbfreeze.py b/win32/deluge-bbfreeze.py
index fae33a16f..ecbbf6187 100644
--- a/win32/deluge-bbfreeze.py
+++ b/win32/deluge-bbfreeze.py
@@ -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")