From d6a74b38128099611559d2302b9dc3d186705f0d Mon Sep 17 00:00:00 2001 From: Martin Hertz Date: Sat, 10 Aug 2024 20:08:56 +0200 Subject: [PATCH] [Packaging] Fix deluge-console working again on Windows Deluge-console broke on Windows after commit d559f67, which before that, was working by happy coincidence from it's source files getting included with rest UI/plugin data copied into place. This fix, well workaround rather, copies back it's source files into place, to restore old ways, until proper fix can be made. --- packaging/win/delugewin.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/win/delugewin.spec b/packaging/win/delugewin.spec index b6b5573652..d078d5c912 100644 --- a/packaging/win/delugewin.spec +++ b/packaging/win/delugewin.spec @@ -107,6 +107,7 @@ datas += copy_metadata('twisted', recursive=True) # Copy UI/Plugin and translation files to where pyinstaller expects package_data = collect_data_files('deluge') datas += package_data +datas += [('../../deluge/ui/console', 'deluge/ui/console')] icon = [src for src, dest in package_data if src.endswith('deluge.ico')][0]