Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

Count File Pilot as a file manager for gestures (#633)

KnifeLemon87bb6d8e2f13
diff --git a/src/Filee.Platform.Windows/WindowsPlatformServices.cs b/src/Filee.Platform.Windows/WindowsPlatformServices.cs
index 7d9e713c..39549178 100644
--- a/src/Filee.Platform.Windows/WindowsPlatformServices.cs
+++ b/src/Filee.Platform.Windows/WindowsPlatformServices.cs
@@ -40,6 +40,7 @@ public sealed class WindowsPlatformServices : IPlatformServices
"OneCommander",
"Q-Dir",
"FreeCommander",
+ "FPilot", // File Pilot (#633)
};
public void RaiseTopmost(nint windowHandle)
diff --git a/tests/Filee.App.Tests/FileManagerScopeTests.cs b/tests/Filee.App.Tests/FileManagerScopeTests.cs
index ae6759c6..1c393ebd 100644
--- a/tests/Filee.App.Tests/FileManagerScopeTests.cs
+++ b/tests/Filee.App.Tests/FileManagerScopeTests.cs
@@ -16,6 +16,7 @@ public class FileManagerScopeTests
[InlineData("dopus.lister", "dopus")]
[InlineData("TTOTAL_CMD", "TOTALCMD64")]
[InlineData("ThunderRT6FormDC", "XYplorer")]
+ [InlineData("Unknown", "FPilot")] // File Pilot: found by its process name alone
public void Explorer_the_desktop_and_other_file_managers_count(string windowClass, string process) =>
Assert.True(WindowsPlatformServices.IsFileManager(windowClass, process));