From b35bd6dc1cf9ab7cf9f06b9dea27083c113cb950 Mon Sep 17 00:00:00 2001 From: Ivan Date: Sat, 2 May 2026 06:22:24 -0500 Subject: [PATCH] chore(cx_setup): update vendor path handling for LXMFy integration --- cx_setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cx_setup.py b/cx_setup.py index 5c41c8e..361152c 100644 --- a/cx_setup.py +++ b/cx_setup.py @@ -4,11 +4,15 @@ import os import sys from pathlib import Path +ROOT = Path(__file__).resolve().parent +_vendor_lxmfy = ROOT / "vendor" / "lxmfy" +if _vendor_lxmfy.is_dir() and (_vendor_lxmfy / "lxmfy").is_dir(): + sys.path.insert(0, str(_vendor_lxmfy)) + from cx_Freeze import Executable, setup from meshchatx.src.version import __version__ -ROOT = Path(__file__).resolve().parent PUBLIC_DIR = ROOT / "meshchatx" / "public" target_name = os.environ.get("CX_FREEZE_TARGET_NAME", "ReticulumMeshChatX")