update OpenUrl method summary

This commit is contained in:
Jeremy 2025-06-13 22:02:34 +10:00
parent f4d6ef371a
commit eb7a89292b

View file

@ -319,13 +319,15 @@ namespace Flow.Launcher.Plugin
public void OpenWebUrl(string url, bool? inPrivate = null); public void OpenWebUrl(string url, bool? inPrivate = null);
/// <summary> /// <summary>
/// Opens the URL with the given Uri object. /// Opens the URL with the given Uri object in browser if scheme is Http or Https.
/// If the URL is a local file, it will instead be opened with the default application for that file type.
/// The browser and mode used is based on what's configured in Flow's default browser settings. /// The browser and mode used is based on what's configured in Flow's default browser settings.
/// </summary> /// </summary>
public void OpenUrl(Uri url, bool? inPrivate = null); public void OpenUrl(Uri url, bool? inPrivate = null);
/// <summary> /// <summary>
/// Opens the URL with the given string. /// Opens the URL with the given string in browser if scheme is Http or Https.
/// If the URL is a local file, it will instead be opened with the default application for that file type.
/// The browser and mode used is based on what's configured in Flow's default browser settings. /// The browser and mode used is based on what's configured in Flow's default browser settings.
/// Non-C# plugins should use this method. /// Non-C# plugins should use this method.
/// </summary> /// </summary>