Fix Unity Package Manager Git URL format in mcp_source.py

main
dsarno 2025-08-13 14:31:10 -07:00
parent 370a36044d
commit f8c76db9ca
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def write_json(path: pathlib.Path, data: dict) -> None:
def build_options(repo_root: pathlib.Path, branch: str, origin_https: str): def build_options(repo_root: pathlib.Path, branch: str, origin_https: str):
upstream = "https://github.com/CoplayDev/unity-mcp.git?path=/UnityMcpBridge" upstream = "git+https://github.com/CoplayDev/unity-mcp.git?path=/UnityMcpBridge"
# Ensure origin is https # Ensure origin is https
origin = origin_https origin = origin_https
# If origin is a local file path or non-https, try to coerce to https github if possible # If origin is a local file path or non-https, try to coerce to https github if possible