Fix parameter bug

This commit is contained in:
Jack251970 2024-12-01 20:13:13 +08:00
parent b568d2dd95
commit 57cbe10ef0
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ public static class EverythingDownloadHelper
installedLocation = "C:\\Program Files\\Everything\\Everything.exe";
FilesFolders.OpenPath(installedLocation, api.ShowMsgBox);
FilesFolders.OpenPath(installedLocation, (string str) => api.ShowMsgBox(str));
return installedLocation;

View file

@ -336,7 +336,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search
private static void OpenFile(string filePath, string workingDir = "", bool asAdmin = false)
{
IncrementEverythingRunCounterIfNeeded(filePath);
FilesFolders.OpenFile(filePath, Context.API.ShowMsgBox, workingDir, asAdmin);
FilesFolders.OpenFile(filePath, workingDir, asAdmin, (string str) => Context.API.ShowMsgBox(str));
}
private static void OpenFolder(string folderPath, string fileNameOrFilePath = null)