From 04f22da50d4b816de08ef9a2e34e2519e337b68a Mon Sep 17 00:00:00 2001 From: Nose Date: Fri, 23 Jan 2026 02:39:33 -0800 Subject: [PATCH] f --- scripts/bootstrap.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/bootstrap.py b/scripts/bootstrap.py index de34c56..797c42f 100644 --- a/scripts/bootstrap.py +++ b/scripts/bootstrap.py @@ -1265,7 +1265,17 @@ def main() -> int: sys.stdin.readline() continue - run_client_script = repo_root / "scripts" / "run_client.py" if repo_root else Path(__file__).parent / "run_client.py" + run_client_script = None + candidates = [ + target_repo / "run_client.py", + target_repo / "scripts" / "run_client.py", + ] + for candidate in candidates: + if candidate.exists(): + run_client_script = candidate + break + if run_client_script is None: + run_client_script = Path(__file__).parent / "run_client.py" if run_client_script.exists(): try: