diff --git a/Flow.Launcher.Plugin/Result.cs b/Flow.Launcher.Plugin/Result.cs index 1c4467762..da5b3c774 100644 --- a/Flow.Launcher.Plugin/Result.cs +++ b/Flow.Launcher.Plugin/Result.cs @@ -241,6 +241,7 @@ namespace Flow.Launcher.Plugin /// Full image used for preview panel /// public string PreviewImagePath { get; set; } + /// /// Determines if the preview image should occupy the full width of the preview panel. /// @@ -248,12 +249,18 @@ namespace Flow.Launcher.Plugin public string Description { get; set; } public IconDelegate PreviewDelegate { get; set; } + /// + /// File path of the result. For third-party preview programs such as QuickLook. + /// + public string FilePath { get; set; } + public static PreviewInfo Default { get; } = new() { PreviewImagePath = null, Description = null, IsMedia = false, PreviewDelegate = null, + FilePath = null, }; } }