From 2f260861df8702b9de4d2142946fc274803b5109 Mon Sep 17 00:00:00 2001 From: Justin Barnett Date: Tue, 8 Apr 2025 15:17:26 -0400 Subject: [PATCH] update pyproject.toml path --- 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 4ca4de3..0d8b162 100644 --- a/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs +++ b/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs @@ -33,7 +33,12 @@ namespace UnityMcpBridge.Editor.Helpers } else { - string pyprojectPath = Path.Combine(saveLocation, ServerFolder, "src"); + string pyprojectPath = Path.Combine( + saveLocation, + ServerFolder, + "src", + "pyproject.toml" + ); string installedVersion = ParseVersionFromPyproject(pyprojectPath); string latestVersion = GetLatestVersion();