mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 10:39:47 +00:00
Added a method to retrieve the Rust runtime directory
This commit is contained in:
parent
3261b77fdd
commit
3e9da73623
@ -28,6 +28,13 @@ public static class Environment
|
|||||||
return Path.GetFullPath(directory);
|
return Path.GetFullPath(directory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static string GetRustRuntimeDirectory()
|
||||||
|
{
|
||||||
|
var currentDirectory = Directory.GetCurrentDirectory();
|
||||||
|
var directory = Path.Combine(currentDirectory, "..", "..", "runtime");
|
||||||
|
return Path.GetFullPath(directory);
|
||||||
|
}
|
||||||
|
|
||||||
public static string GetMetadataPath()
|
public static string GetMetadataPath()
|
||||||
{
|
{
|
||||||
var currentDirectory = Directory.GetCurrentDirectory();
|
var currentDirectory = Directory.GetCurrentDirectory();
|
||||||
|
Loading…
Reference in New Issue
Block a user