pass content, not path
parent
2f260861df
commit
a3f1926338
|
|
@ -39,7 +39,9 @@ namespace UnityMcpBridge.Editor.Helpers
|
||||||
"src",
|
"src",
|
||||||
"pyproject.toml"
|
"pyproject.toml"
|
||||||
);
|
);
|
||||||
string installedVersion = ParseVersionFromPyproject(pyprojectPath);
|
string installedVersion = ParseVersionFromPyproject(
|
||||||
|
File.ReadAllText(pyprojectPath)
|
||||||
|
);
|
||||||
string latestVersion = GetLatestVersion();
|
string latestVersion = GetLatestVersion();
|
||||||
|
|
||||||
if (IsNewerVersion(latestVersion, installedVersion))
|
if (IsNewerVersion(latestVersion, installedVersion))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue