mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-27 23:59:48 +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);
|
||||
}
|
||||
|
||||
public static string GetRustRuntimeDirectory()
|
||||
{
|
||||
var currentDirectory = Directory.GetCurrentDirectory();
|
||||
var directory = Path.Combine(currentDirectory, "..", "..", "runtime");
|
||||
return Path.GetFullPath(directory);
|
||||
}
|
||||
|
||||
public static string GetMetadataPath()
|
||||
{
|
||||
var currentDirectory = Directory.GetCurrentDirectory();
|
||||
|
Loading…
Reference in New Issue
Block a user