mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use more settings
This commit is contained in:
parent
c9ca9ad4ba
commit
2d5626b0cd
1 changed files with 10 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.RegularExpressions;
|
||||
using Flow.Launcher.Plugin.SharedCommands;
|
||||
|
||||
namespace Flow.Launcher.Plugin.Url
|
||||
{
|
||||
|
|
@ -66,8 +67,15 @@ namespace Flow.Launcher.Plugin.Url
|
|||
}
|
||||
try
|
||||
{
|
||||
Context.API.OpenUrl(raw);
|
||||
|
||||
var browserPath = Settings.UseCustomBrowser ? Settings.BrowserPath : string.Empty;
|
||||
if (Settings.OpenInNewBrowserWindow)
|
||||
{
|
||||
SearchWeb.OpenInBrowserWindow(raw, browserPath, Settings.OpenInPrivateMode);
|
||||
}
|
||||
else
|
||||
{
|
||||
SearchWeb.OpenInBrowserTab(raw, browserPath, Settings.OpenInPrivateMode);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
catch(Exception)
|
||||
|
|
|
|||
Loading…
Reference in a new issue