From cda89c359e9cf3d0f2d1a22da3d0c205a849a1d5 Mon Sep 17 00:00:00 2001 From: codex Date: Mon, 10 Aug 2026 10:11:32 +0300 Subject: [PATCH] fix: discover controlled local parity startup roots --- Launcher.Next.Core/StartupRosterPreflight.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Launcher.Next.Core/StartupRosterPreflight.cs b/Launcher.Next.Core/StartupRosterPreflight.cs index 6d74254..3268db2 100644 --- a/Launcher.Next.Core/StartupRosterPreflight.cs +++ b/Launcher.Next.Core/StartupRosterPreflight.cs @@ -60,10 +60,10 @@ public static class StartupRosterPreflight private static IEnumerable DiscoverKnownRoots() { - var temp = Path.GetTempPath(); - if (Directory.Exists(temp)) - foreach (var root in Directory.EnumerateDirectories(temp, "local-parity-launch-*", SearchOption.TopDirectoryOnly)) - yield return Path.Combine(root, "Applications"); + 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"); foreach (var root in new[] { Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\Autodesk\\ApplicationPlugins", Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "\\Autodesk\\ApplicationPlugins" }) yield return root; }