static BeyondCompareDiffProgram() { DefaultSearchPaths = WindowsProgramFilePaths .SelectMany(p => new[] { $@"{p}\Beyond Compare 4\BCompare.exe", $@"{p}\Beyond Compare 3\BCompare.exe" } ) .ToArray(); }
static BeyondCompareDiffProgram() { var paths = new List <string>(); if (DiffReporter.IsWindows) { paths.AddRange(WindowsProgramFilePaths .SelectMany(p => new[] { $@"{p}\Beyond Compare 4\BCompare.exe", $@"{p}\Beyond Compare 3\BCompare.exe" }) .ToArray()); } else { paths.Add("/usr/bin/bcompare"); } DefaultSearchPaths = paths; }