diff --git a/build_windows.py b/build_windows.py index 451fb807..4c9e99c6 100644 --- a/build_windows.py +++ b/build_windows.py @@ -182,6 +182,13 @@ os.path.join(src_path, theme, "index.theme"), os.path.join(target_path, theme, "index.theme") ) + + print "Copying even more icons" + shutil.copy( + os.path.join(build_dir, "icons/128x128/apps/syncthing-gtk.png"), + os.path.join(build_dir, "icons/syncthing-gtk.png") + ) + print "Copying glib schemas" if not os.path.exists(os.path.join(build_dir, "/share/glib-2.0/schemas")): target_path = os.path.join(build_dir, "share/glib-2.0/schemas") diff --git a/scripts/syncthing-gtk-exe.py b/scripts/syncthing-gtk-exe.py index b9f26265..4d6f278f 100644 --- a/scripts/syncthing-gtk-exe.py +++ b/scripts/syncthing-gtk-exe.py @@ -20,5 +20,8 @@ windows.dont_use_localization_in_gtk() windows.override_menu_borders() + from gi.repository import Gtk + Gtk.IconTheme.get_default().append_search_path(os.path.join(os.getcwd(), "icons")) + from syncthing_gtk import App App(path, os.path.join(path, "icons")).run(sys.argv)