PR prep
parent
9032c5809d
commit
99f38e21bd
|
|
@ -11,7 +11,7 @@ namespace UnityMcpBridge.Editor.Helpers
|
||||||
{
|
{
|
||||||
private const string RootFolder = "UnityMCP";
|
private const string RootFolder = "UnityMCP";
|
||||||
private const string ServerFolder = "UnityMcpServer";
|
private const string ServerFolder = "UnityMcpServer";
|
||||||
private const string BranchName = "feature/install-overhaul";
|
private const string BranchName = "master";
|
||||||
private const string GitUrl = "https://github.com/justinpbarnett/unity-mcp.git";
|
private const string GitUrl = "https://github.com/justinpbarnett/unity-mcp.git";
|
||||||
private const string PyprojectUrl =
|
private const string PyprojectUrl =
|
||||||
"https://raw.githubusercontent.com/justinpbarnett/unity-mcp/refs/heads/"
|
"https://raw.githubusercontent.com/justinpbarnett/unity-mcp/refs/heads/"
|
||||||
|
|
@ -46,7 +46,6 @@ namespace UnityMcpBridge.Editor.Helpers
|
||||||
|
|
||||||
if (IsNewerVersion(latestVersion, installedVersion))
|
if (IsNewerVersion(latestVersion, installedVersion))
|
||||||
{
|
{
|
||||||
Debug.Log($"is newer version");
|
|
||||||
UpdateServer(saveLocation);
|
UpdateServer(saveLocation);
|
||||||
}
|
}
|
||||||
else { }
|
else { }
|
||||||
|
|
@ -164,7 +163,6 @@ namespace UnityMcpBridge.Editor.Helpers
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private static void UpdateServer(string location)
|
private static void UpdateServer(string location)
|
||||||
{
|
{
|
||||||
Debug.Log("updating server");
|
|
||||||
RunCommand("git", $"pull origin {BranchName}", workingDirectory: location);
|
RunCommand("git", $"pull origin {BranchName}", workingDirectory: location);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "UnityMcpServer"
|
name = "UnityMcpServer"
|
||||||
version = "2.0.1"
|
version = "2.0.0"
|
||||||
description = "Unity MCP Server: A Unity package for Unity Editor integration via the Model Context Protocol (MCP)."
|
description = "Unity MCP Server: A Unity package for Unity Editor integration via the Model Context Protocol (MCP)."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue