From 7b303b5ba3bc81c363a7f681add073bca5dd19c2 Mon Sep 17 00:00:00 2001 From: Justin Barnett Date: Tue, 8 Apr 2025 11:44:12 -0400 Subject: [PATCH] update pyproject.toml get location --- UnityMcpBridge/Editor/Helpers/ServerInstaller.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs b/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs index 2467839..2ae3a9f 100644 --- a/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs +++ b/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs @@ -146,7 +146,12 @@ namespace UnityMcpBridge.Editor.Helpers RunCommand("git", $"checkout {BranchName}", workingDirectory: location); // Create version.txt file based on pyproject.toml, stored at the root level - string pyprojectPath = Path.Combine(location, "UnityMcpServer", "pyproject.toml"); + string pyprojectPath = Path.Combine( + location, + "UnityMcpServer", + "src", + "pyproject.toml" + ); if (File.Exists(pyprojectPath)) { string pyprojectContent = File.ReadAllText(pyprojectPath);