Skip to content

Commit 94d56e1

Browse files
pyinstaller: cockpit: add tcss file, add unicode data
1 parent 92ebb97 commit 94d56e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/borg.exe.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ basepath = os.path.abspath(os.path.join(here, '..'))
1212
if is_win32:
1313
hiddenimports = ['borghash']
1414
else:
15-
hiddenimports = ['borg.platform.posix', 'borghash']
15+
hiddenimports = ['borg.platform.posix', 'borghash', 'rich._unicode_data.unicode17-0-0']
1616

1717
block_cipher = None
1818

@@ -21,6 +21,7 @@ a = Analysis([os.path.join(basepath, 'src', 'borg', '__main__.py'), ],
2121
binaries=[],
2222
datas=[
2323
(os.path.join(basepath, 'src', 'borg', 'paperkey.html'), 'borg'),
24+
(os.path.join(basepath, 'src', 'borg', 'cockpit', 'cockpit.tcss'), os.path.join('borg', 'cockpit')),
2425
],
2526
hiddenimports=hiddenimports,
2627
hookspath=[],

0 commit comments

Comments
 (0)