Skip to content

Commit c79c8d0

Browse files
committed
chore: rename UnityMcpBridge directory to MCPForUnity across all files
1 parent fec463f commit c79c8d0

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

deploy-dev.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ echo.
88

99
:: Configuration
1010
set "SCRIPT_DIR=%~dp0"
11-
set "BRIDGE_SOURCE=%SCRIPT_DIR%UnityMcpBridge"
12-
set "SERVER_SOURCE=%SCRIPT_DIR%UnityMcpBridge\UnityMcpServer~\src"
11+
set "BRIDGE_SOURCE=%SCRIPT_DIR%MCPForUnity"
12+
set "SERVER_SOURCE=%SCRIPT_DIR%MCPForUnity\UnityMcpServer~\src"
1313
set "DEFAULT_BACKUP_DIR=%USERPROFILE%\Desktop\unity-mcp-backup"
1414
set "DEFAULT_SERVER_PATH=%LOCALAPPDATA%\Programs\UnityMCP\UnityMcpServer\src"
1515

mcp_source.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,20 @@
99
Choices:
1010
1) Upstream main (CoplayDev/unity-mcp)
1111
2) Your remote current branch (derived from `origin` and current branch)
12-
3) Local repo workspace (file: URL to UnityMcpBridge in your checkout)
12+
3) Local repo workspace (file: URL to MCPForUnity in your checkout)
1313
"""
1414

1515
from __future__ import annotations
1616

1717
import argparse
1818
import json
19-
import os
2019
import pathlib
21-
import re
2220
import subprocess
2321
import sys
2422
from typing import Optional
2523

2624
PKG_NAME = "com.coplaydev.unity-mcp"
27-
BRIDGE_SUBPATH = "UnityMcpBridge"
25+
BRIDGE_SUBPATH = "MCPForUnity"
2826

2927

3028
def run_git(repo: pathlib.Path, *args: str) -> str:
@@ -94,7 +92,7 @@ def write_json(path: pathlib.Path, data: dict) -> None:
9492

9593

9694
def build_options(repo_root: pathlib.Path, branch: str, origin_https: str):
97-
upstream = "git+https://github.com/CoplayDev/unity-mcp.git?path=/UnityMcpBridge"
95+
upstream = "git+https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity"
9896
# Ensure origin is https
9997
origin = origin_https
10098
# If origin is a local file path or non-https, try to coerce to https github if possible

prune_tool_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
import sys, json, re
2+
import sys, json
33

44
def summarize(txt):
55
try:

restore-dev.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo ===============================================
55
echo MCP for Unity Development Restore Script
66
echo ===============================================
77
echo.
8-
echo Note: The Python server is bundled under UnityMcpBridge\UnityMcpServer~ in the package.
8+
echo Note: The Python server is bundled under MCPForUnity\UnityMcpServer~ in the package.
99
echo This script restores your installed server path from backups, not the repo copy.
1010
echo.
1111

0 commit comments

Comments
 (0)