From c35feda946b98dd9043f0052a516c3efc490d05f Mon Sep 17 00:00:00 2001 From: Uriziel Date: Sat, 8 Jun 2013 18:57:57 +0200 Subject: [PATCH] GuiIcons are now added properly to installer. --- buildPy2exe.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/buildPy2exe.py b/buildPy2exe.py index 6c5e179..aa24308 100644 --- a/buildPy2exe.py +++ b/buildPy2exe.py @@ -508,7 +508,14 @@ class build_installer(py2exe): script.compile() print "*** DONE ***" - +guiIcons = ['resources/accept.png', 'resources/arrow_undo.png', 'resources/clock_go.png', + 'resources/control_pause_blue.png', 'resources/cross.png', 'resources/door_in.png', + 'resources/folder_explore.png', 'resources/help.png', 'resources/table_refresh.png', + 'resources/timeline_marker.png' + ] +resources = ["resources/icon.ico", "resources/syncplay.png"] +resources.extend(guiIcons) + common_info = dict( name='Syncplay', version=syncplay.version, @@ -531,7 +538,7 @@ info = dict( 'compressed': 1 } }, - data_files = [("resources", ["resources/icon.ico","resources/syncplay.png","resources/accept.png","resources/folder_explore.png","resources/help.png"])], + data_files = [("resources", resources)], zipfile = "lib/libsync", cmdclass = {"py2exe": build_installer}, )