From ebec2cf3b2af0a37e37231e27842152324be1c9f Mon Sep 17 00:00:00 2001 From: Quinten Stokkink Date: Thu, 5 Sep 2024 11:44:15 +0200 Subject: [PATCH] Fixed PyInstaller copying file as folder --- build/tribler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tribler.spec b/build/tribler.spec index 14cbada0b3..febc862432 100644 --- a/build/tribler.spec +++ b/build/tribler.spec @@ -49,7 +49,7 @@ data_to_copy = [ (os.path.join(src_dir, "tribler", "core"), 'tribler_source/tribler/core'), (os.path.join(src_dir, "tribler", "ui"), 'tribler_source/tribler/ui'), (os.path.join(root_dir, "build", "win", "resources"), 'tribler_source/resources'), - (os.path.join(root_dir, "tribler.dist-info", "METADATA"), 'tribler.dist-info/METADATA'), + (os.path.join(root_dir, "tribler.dist-info", "METADATA"), 'tribler.dist-info'), (os.path.dirname(aiohttp_apispec.__file__), 'aiohttp_apispec') ]