installer v1 (C+D): Windows EXE installer trio + build script + local Hub E2E

This commit is contained in:
gti
2026-09-23 17:44:48 -03:00
parent 91c4030b06
commit a9aded1e49
19 changed files with 792 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
import os
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent
DEFAULT_PAYLOAD = ROOT / "dist" / "installer"
PAYLOAD = Path(os.environ.get("GTI_E2E_PAYLOAD", str(DEFAULT_PAYLOAD)))
sys._MEIPASS = str(PAYLOAD) # frozen-equivalent: extract_payload() reads this
sys.path.insert(0, str(ROOT / "agent" / "src"))
sys.path.insert(0, str(ROOT / "installer"))
import setup_main # noqa: E402
sys.exit(setup_main.cli())