@@ -471,6 +471,7 @@ def build_linux_minimal(cli_path: pathlib.Path, pty_path: pathlib.Path):
471
471
def linux_tauri_config (
472
472
cli_path : pathlib .Path ,
473
473
pty_path : pathlib .Path ,
474
+ chat_path : pathlib .Path ,
474
475
dashboard_path : pathlib .Path ,
475
476
autocomplete_path : pathlib .Path ,
476
477
vscode_path : pathlib .Path ,
@@ -487,6 +488,7 @@ def linux_tauri_config(
487
488
"externalBin" : [
488
489
str (cli_path ).removesuffix (f"-{ target } " ),
489
490
str (pty_path ).removesuffix (f"-{ target } " ),
491
+ str (chat_path ).removesuffix (f"-{ target } " ),
490
492
],
491
493
"targets" : ["appimage" ],
492
494
"icon" : ["icons/128x128.png" ],
@@ -539,6 +541,7 @@ def make_linux_bundle_metadata(packaged_as: Package) -> pathlib.Path:
539
541
class LinuxDebResources :
540
542
cli_path : pathlib .Path
541
543
pty_path : pathlib .Path
544
+ chat_path : pathlib .Path
542
545
desktop_path : pathlib .Path
543
546
themes_path : pathlib .Path
544
547
legacy_extension_dir_path : pathlib .Path
@@ -577,6 +580,7 @@ def build_linux_deb(
577
580
bin_path .mkdir (parents = True )
578
581
shutil .copy (resources .cli_path , bin_path / CLI_BINARY_NAME )
579
582
shutil .copy (resources .pty_path , bin_path / PTY_BINARY_NAME )
583
+ shutil .copy (resources .chat_path , bin_path / CHAT_BINARY_NAME )
580
584
shutil .copy (resources .desktop_path , bin_path / DESKTOP_BINARY_NAME )
581
585
582
586
info ("Copying /usr/share resources" )
@@ -633,6 +637,7 @@ def build_linux_full(
633
637
release : bool ,
634
638
cli_path : pathlib .Path ,
635
639
pty_path : pathlib .Path ,
640
+ chat_path : pathlib .Path ,
636
641
npm_packages : NpmBuildOutput ,
637
642
features : Mapping [str , Sequence [str ]] | None = None ,
638
643
):
@@ -672,6 +677,7 @@ def copy_extension(extension_uuid, extension_dir_name):
672
677
linux_tauri_config (
673
678
cli_path = cli_path ,
674
679
pty_path = pty_path ,
680
+ chat_path = chat_path ,
675
681
dashboard_path = npm_packages .dashboard_path ,
676
682
autocomplete_path = npm_packages .autocomplete_path ,
677
683
vscode_path = npm_packages .vscode_path ,
@@ -707,6 +713,7 @@ def copy_extension(extension_uuid, extension_dir_name):
707
713
deb_resources = LinuxDebResources (
708
714
cli_path = cli_path ,
709
715
pty_path = pty_path ,
716
+ chat_path = chat_path ,
710
717
desktop_path = desktop_path ,
711
718
themes_path = themes_path ,
712
719
legacy_extension_dir_path = legacy_extension_dir_path ,
@@ -904,6 +911,7 @@ def build(
904
911
release = release ,
905
912
cli_path = cli_path ,
906
913
pty_path = pty_path ,
914
+ chat_path = chat_path ,
907
915
npm_packages = npm_packages ,
908
916
features = cargo_features ,
909
917
)
0 commit comments