Skip to content

Commit 6f2ff84

Browse files
committed
remove Constant.EverythingSDKPath and usage
1 parent c4fd501 commit 6f2ff84

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

Flow.Launcher.Infrastructure/Constant.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public static class Constant
2727
public static readonly string ErrorIcon = Path.Combine(ProgramDirectory, "Images", "app_error.png");
2828

2929
public static string PythonPath;
30-
public static string EverythingSDKPath;
3130

3231
public static readonly string QueryTextBoxIconImagePath = $"{ProgramDirectory}\\Images\\mainsearch.png";
3332

Flow.Launcher.Infrastructure/Exception/ExceptionFormatter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ private static string CreateExceptionReport(System.Exception ex)
6767
sb.AppendLine($"* IntPtr Length: {IntPtr.Size}");
6868
sb.AppendLine($"* x64: {Environment.Is64BitOperatingSystem}");
6969
sb.AppendLine($"* Python Path: {Constant.PythonPath}");
70-
sb.AppendLine($"* Everything SDK Path: {Constant.EverythingSDKPath}");
7170
sb.AppendLine($"* CLR Version: {Environment.Version}");
7271
sb.AppendLine($"* Installed .NET Framework: ");
7372
foreach (var result in GetFrameworkVersionFromRegistry())

Flow.Launcher.Infrastructure/Image/ImageLoader.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,8 @@ private static ImageResult GetThumbnailResult(ref string path, bool loadFullImag
156156
if (Directory.Exists(path))
157157
{
158158
/* Directories can also have thumbnails instead of shell icons.
159-
* Generating thumbnails for a bunch of folders while scrolling through
160-
* results from Everything makes a big impact on performance and
161-
* Flow.Launcher responsibility.
159+
* Generating thumbnails for a bunch of folder results while scrolling
160+
* could have a big impact on performance and Flow.Launcher responsibility.
162161
* - Solution: just load the icon
163162
*/
164163
type = ImageType.Folder;

Flow.Launcher/Helper/ErrorReporting.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ public static string RuntimeInfo()
4141

4242
public static string DependenciesInfo()
4343
{
44-
var info = $"\nPython Path: {Constant.PythonPath}" +
45-
$"\nEverything SDK Path: {Constant.EverythingSDKPath}";
44+
var info = $"\nPython Path: {Constant.PythonPath}";
4645
return info;
4746
}
4847
}

0 commit comments

Comments
 (0)