30 lines
703 B
C#
Raw Permalink Normal View History

namespace StoragePlugin
2025-01-28 14:58:37 +01:00
{
public class LogosStorageExePath
2025-01-28 14:58:37 +01:00
{
private readonly string[] paths = [
Path.Combine("d:", "Dev", "logos-storage-nim", "build", "storage.exe"),
Path.Combine("c:", "Projects", "logos-storage-nim", "build", "storage.exe")
];
private string selectedPath = string.Empty;
public LogosStorageExePath()
{
foreach (var p in paths)
{
if (File.Exists(p))
{
selectedPath = p;
return;
}
}
}
2025-01-28 14:58:37 +01:00
public string Get()
{
return selectedPath;
2025-01-28 14:58:37 +01:00
}
}
}