mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-09-01 20:28:25 +00:00
chore(cx_setup): update vendor path handling for LXMFy integration
This commit is contained in:
+5
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user