mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
add option to Url plugin
This commit is contained in:
parent
3929043eec
commit
dcbd4f3356
2 changed files with 10 additions and 1 deletions
|
|
@ -79,7 +79,14 @@ namespace Wox.Plugin.Url
|
|||
}
|
||||
try
|
||||
{
|
||||
raw.NewBrowserWindow(_settings.BrowserPath);
|
||||
if (_settings.OpenInNewBrowserWindow)
|
||||
{
|
||||
raw.NewBrowserWindow(_settings.BrowserPath);
|
||||
}
|
||||
else
|
||||
{
|
||||
raw.NewTabInBrowser(_settings.BrowserPath);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,5 +9,7 @@ namespace Wox.Plugin.Url
|
|||
public class Settings
|
||||
{
|
||||
public string BrowserPath { get; set; }
|
||||
|
||||
public bool OpenInNewBrowserWindow { get; set; } = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue