add Node.js path to error reporting

This commit is contained in:
Jeremy 2022-10-25 21:30:46 +11:00
parent 1bb2de345e
commit adf712ddd6
2 changed files with 3 additions and 2 deletions

View file

@ -67,6 +67,7 @@ namespace Flow.Launcher.Infrastructure.Exception
sb.AppendLine($"* IntPtr Length: {IntPtr.Size}");
sb.AppendLine($"* x64: {Environment.Is64BitOperatingSystem}");
sb.AppendLine($"* Python Path: {Constant.PythonPath}");
sb.AppendLine($"* Node Path: {Constant.NodePath}");
sb.AppendLine($"* CLR Version: {Environment.Version}");
sb.AppendLine($"* Installed .NET Framework: ");
foreach (var result in GetFrameworkVersionFromRegistry())

View file

@ -43,8 +43,8 @@ namespace Flow.Launcher.Helper
public static string DependenciesInfo()
{
var info = $"\nPython Path: {Constant.PythonPath}";
var info = $"\nPython Path: {Constant.PythonPath}\nNode Path: {Constant.NodePath}";
return info;
}
}
}
}