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; }