Skip to content

Commit 7b303b5

Browse files
update pyproject.toml get location
1 parent e4ccf61 commit 7b303b5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

UnityMcpBridge/Editor/Helpers/ServerInstaller.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,12 @@ private static void InstallServer(string location)
146146
RunCommand("git", $"checkout {BranchName}", workingDirectory: location);
147147

148148
// Create version.txt file based on pyproject.toml, stored at the root level
149-
string pyprojectPath = Path.Combine(location, "UnityMcpServer", "pyproject.toml");
149+
string pyprojectPath = Path.Combine(
150+
location,
151+
"UnityMcpServer",
152+
"src",
153+
"pyproject.toml"
154+
);
150155
if (File.Exists(pyprojectPath))
151156
{
152157
string pyprojectContent = File.ReadAllText(pyprojectPath);

0 commit comments

Comments
 (0)