Skip to content

Commit d630be8

Browse files
committed
mcp_source.py: use MCPForUnity path and show branch in options
1 parent 0397887 commit d630be8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mcp_source.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def write_json(path: pathlib.Path, data: dict) -> None:
9292

9393

9494
def build_options(repo_root: pathlib.Path, branch: str, origin_https: str):
95-
upstream = "git+https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity"
95+
upstream = "https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity"
9696
# Ensure origin is https
9797
origin = origin_https
9898
# If origin is a local file path or non-https, try to coerce to https github if possible
@@ -103,9 +103,9 @@ def build_options(repo_root: pathlib.Path, branch: str, origin_https: str):
103103
origin_remote = origin
104104
return [
105105
("[1] Upstream main", upstream),
106-
("[2] Remote current branch",
106+
(f"[2] Remote {branch}",
107107
f"{origin_remote}?path=/{BRIDGE_SUBPATH}#{branch}"),
108-
("[3] Local workspace",
108+
(f"[3] Local {branch}",
109109
f"file:{(repo_root / BRIDGE_SUBPATH).as_posix()}"),
110110
]
111111

0 commit comments

Comments
 (0)