From 5d148a746272445d3a0a165c879abc861f8bec36 Mon Sep 17 00:00:00 2001 From: Marcus Sanatan Date: Fri, 8 Aug 2025 15:06:35 -0400 Subject: [PATCH] chore: update repository URLs and package name to use correct CoplayDev casing and main branch --- README-DEV.md | 2 +- README.md | 12 ++++++------ UnityMcpBridge/Editor/Helpers/ServerInstaller.cs | 6 +++--- .../Editor/Windows/UnityMcpEditorWindow.cs | 2 +- UnityMcpBridge/package.json | 2 +- deploy-dev.bat | 2 +- restore-dev.bat | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README-DEV.md b/README-DEV.md index 398bdab..be9e022 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -48,7 +48,7 @@ Restores original files from backup. Unity package cache is typically located at: ``` -X:\UnityProject\Library\PackageCache\com.coplaydev.unity-mcp@1.0.0 +X:\UnityProject\Library\PackageCache\com.CoplayDev.unity-mcp@1.0.0 ``` To find it: diff --git a/README.md b/README.md index 2fc9af6..d82c6f4 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ [![](https://img.shields.io/badge/Unity-000000?style=flat&logo=unity&logoColor=blue 'Unity')](https://unity.com/releases/editor/archive) [![python](https://img.shields.io/badge/Python-3.12-3776AB.svg?style=flat&logo=python&logoColor=white)](https://www.python.org) [![](https://badge.mcpx.dev?status=on 'MCP Enabled')](https://modelcontextprotocol.io/introduction) -![GitHub commit activity](https://img.shields.io/github/commit-activity/w/coplaydev/unity-mcp) -![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/coplaydev/unity-mcp) +![GitHub commit activity](https://img.shields.io/github/commit-activity/w/CoplayDev/unity-mcp) +![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/CoplayDev/unity-mcp) [![](https://img.shields.io/badge/License-MIT-red.svg 'MIT License')](https://opensource.org/licenses/MIT) [![](https://img.shields.io/badge/Sponsor-Coplay-red.svg 'Coplay')](https://www.coplay.dev/?ref=unity-mcp) @@ -109,7 +109,7 @@ Unity MCP connects your tools using two components: 3. Click `+` -> `Add package from git URL...`. 4. Enter: ``` - https://github.com/coplaydev/unity-mcp.git?path=/UnityMcpBridge + https://github.com/CoplayDev/unity-mcp.git?path=/UnityMcpBridge ``` 5. Click `Add`. 6. The MCP Server should automatically be installed onto your machine as a result of this process. @@ -292,7 +292,7 @@ Help make Unity MCP better! 5. **Push** your branch. -6. **Open a Pull Request** against the master branch. +6. **Open a Pull Request** against the main branch. --- @@ -326,7 +326,7 @@ Help make Unity MCP better! -Still stuck? [Open an Issue](https://github.com/coplaydev/unity-mcp/issues) or [Join the Discord](https://discord.gg/y4p8KfzrN4)! +Still stuck? [Open an Issue](https://github.com/CoplayDev/unity-mcp/issues) or [Join the Discord](https://discord.gg/y4p8KfzrN4)! --- @@ -342,7 +342,7 @@ Thanks to the contributors and our sponsors [Coplay](https://coplay.dev/?ref=uni ## Star History -[![Star History Chart](https://api.star-history.com/svg?repos=coplaydev/unity-mcp&type=Date)](https://www.star-history.com/#coplaydev/unity-mcp&Date) +[![Star History Chart](https://api.star-history.com/svg?repos=CoplayDev/unity-mcp&type=Date)](https://www.star-history.com/#CoplayDev/unity-mcp&Date) ## Sponsor diff --git a/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs b/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs index 9d5682f..6fd05bc 100644 --- a/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs +++ b/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs @@ -11,10 +11,10 @@ namespace UnityMcpBridge.Editor.Helpers { private const string RootFolder = "UnityMCP"; private const string ServerFolder = "UnityMcpServer"; - private const string BranchName = "master"; - private const string GitUrl = "https://github.com/justinpbarnett/unity-mcp.git"; + private const string BranchName = "main"; + private const string GitUrl = "https://github.com/CoplayDev/unity-mcp.git"; private const string PyprojectUrl = - "https://raw.githubusercontent.com/justinpbarnett/unity-mcp/refs/heads/" + "https://raw.githubusercontent.com/CoplayDev/unity-mcp/refs/heads/" + BranchName + "/UnityMcpServer/src/pyproject.toml"; diff --git a/UnityMcpBridge/Editor/Windows/UnityMcpEditorWindow.cs b/UnityMcpBridge/Editor/Windows/UnityMcpEditorWindow.cs index 13fadf3..35c19b0 100644 --- a/UnityMcpBridge/Editor/Windows/UnityMcpEditorWindow.cs +++ b/UnityMcpBridge/Editor/Windows/UnityMcpEditorWindow.cs @@ -626,7 +626,7 @@ namespace UnityMcpBridge.Editor.Windows { foreach (UnityEditor.PackageManager.PackageInfo package in request.Result) { - if (package.name == "com.coplaydev.unity-mcp") + if (package.name == "com.CoplayDev.unity-mcp") { string packagePath = package.resolvedPath; diff --git a/UnityMcpBridge/package.json b/UnityMcpBridge/package.json index 2fd8799..62741fe 100644 --- a/UnityMcpBridge/package.json +++ b/UnityMcpBridge/package.json @@ -1,5 +1,5 @@ { - "name": "com.coplaydev.unity-mcp", + "name": "com.CoplayDev.unity-mcp", "version": "1.0.0", "displayName": "Unity MCP Bridge", "description": "A bridge that manages and communicates with the sister application, Unity MCP Server, which allows for communications with MCP Clients like Claude Desktop or Cursor.", diff --git a/deploy-dev.bat b/deploy-dev.bat index 6a83fcf..90890e6 100644 --- a/deploy-dev.bat +++ b/deploy-dev.bat @@ -19,7 +19,7 @@ echo. :: Package cache location echo Unity Package Cache Location: -echo Example: X:\UnityProject\Library\PackageCache\com.coplaydev.unity-mcp@1.0.0 +echo Example: X:\UnityProject\Library\PackageCache\com.CoplayDev.unity-mcp@1.0.0 set /p "PACKAGE_CACHE_PATH=Enter Unity package cache path: " if "%PACKAGE_CACHE_PATH%"=="" ( diff --git a/restore-dev.bat b/restore-dev.bat index 69d9312..c740afc 100644 --- a/restore-dev.bat +++ b/restore-dev.bat @@ -16,7 +16,7 @@ echo. :: Package cache location echo Unity Package Cache Location: -echo Example: X:\UnityProject\Library\PackageCache\com.coplaydev.unity-mcp@1.0.0 +echo Example: X:\UnityProject\Library\PackageCache\com.CoplayDev.unity-mcp@1.0.0 set /p "PACKAGE_CACHE_PATH=Enter Unity package cache path: " if "%PACKAGE_CACHE_PATH%"=="" (