fix: discover controlled local parity startup roots
This commit is contained in:
@@ -60,7 +60,7 @@ public static class StartupRosterPreflight
|
||||
|
||||
private static IEnumerable<string> DiscoverKnownRoots()
|
||||
{
|
||||
var temp = Path.GetTempPath();
|
||||
foreach (var temp in new[] { Path.GetTempPath(), @"C:\dev\TEMP" }.Distinct(StringComparer.OrdinalIgnoreCase))
|
||||
if (Directory.Exists(temp))
|
||||
foreach (var root in Directory.EnumerateDirectories(temp, "local-parity-launch-*", SearchOption.TopDirectoryOnly))
|
||||
yield return Path.Combine(root, "Applications");
|
||||
|
||||
Reference in New Issue
Block a user