#!/usr/bin/env python3 """Launch the Orisys Studio app shell.""" from __future__ import annotations import sys from pathlib import Path ROOT = Path(__file__).resolve().parent SRC = ROOT / "src" SHARED_SRC = ROOT.parents[1] / "shared" / "src" for path in (SRC, SHARED_SRC): if path.is_dir() and str(path) not in sys.path: sys.path.insert(0, str(path)) # Ensure path helpers resolve to this app root when launched via run.py import os os.chdir(ROOT) from orisys_studio.main import main if __name__ == "__main__": raise SystemExit(main())