From 94d56e1c89e4447e6e50b71f245e534a077deb72 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Wed, 28 Jan 2026 21:58:50 +0100 Subject: [PATCH] pyinstaller: cockpit: add tcss file, add unicode data --- scripts/borg.exe.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/borg.exe.spec b/scripts/borg.exe.spec index 4e2e717df..5ab0fbbd3 100644 --- a/scripts/borg.exe.spec +++ b/scripts/borg.exe.spec @@ -12,7 +12,7 @@ basepath = os.path.abspath(os.path.join(here, '..')) if is_win32: hiddenimports = ['borghash'] else: - hiddenimports = ['borg.platform.posix', 'borghash'] + hiddenimports = ['borg.platform.posix', 'borghash', 'rich._unicode_data.unicode17-0-0'] block_cipher = None @@ -21,6 +21,7 @@ a = Analysis([os.path.join(basepath, 'src', 'borg', '__main__.py'), ], binaries=[], datas=[ (os.path.join(basepath, 'src', 'borg', 'paperkey.html'), 'borg'), + (os.path.join(basepath, 'src', 'borg', 'cockpit', 'cockpit.tcss'), os.path.join('borg', 'cockpit')), ], hiddenimports=hiddenimports, hookspath=[],