installer v1 (C+D): Windows EXE installer trio + build script + local Hub E2E
This commit is contained in:
@@ -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())
|
||||
Reference in New Issue
Block a user