2023-04-25 12:04:08 +00:00
|
|
|
|
namespace Flow.Launcher.Plugin.Url
|
2018-12-25 07:11:24 +00:00
|
|
|
|
{
|
2025-09-04 14:06:02 +00:00
|
|
|
|
public class Settings : BaseModel
|
2018-12-25 07:11:24 +00:00
|
|
|
|
{
|
2025-09-05 10:39:02 +00:00
|
|
|
|
private bool _useCustomBrowser = false;
|
|
|
|
|
|
public bool UseCustomBrowser
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _useCustomBrowser;
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (_useCustomBrowser != value)
|
|
|
|
|
|
{
|
|
|
|
|
|
_useCustomBrowser = value;
|
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2019-11-10 19:04:16 +00:00
|
|
|
|
|
2025-09-04 14:06:02 +00:00
|
|
|
|
private string _browserPath = string.Empty;
|
|
|
|
|
|
public string BrowserPath
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _browserPath;
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (_browserPath != value)
|
|
|
|
|
|
{
|
|
|
|
|
|
_browserPath = value;
|
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-09-04 09:30:08 +00:00
|
|
|
|
|
2025-09-05 11:04:46 +00:00
|
|
|
|
private bool _openInNewBrowserWindow = true;
|
2025-09-05 10:39:02 +00:00
|
|
|
|
public bool OpenInNewBrowserWindow
|
|
|
|
|
|
{
|
|
|
|
|
|
get => _openInNewBrowserWindow;
|
|
|
|
|
|
set
|
|
|
|
|
|
{
|
|
|
|
|
|
if (_openInNewBrowserWindow != value)
|
|
|
|
|
|
{
|
|
|
|
|
|
_openInNewBrowserWindow = value;
|
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-09-04 09:30:08 +00:00
|
|
|
|
|
|
|
|
|
|
public bool OpenInPrivateMode { get; set; } = false;
|
2025-09-05 10:39:02 +00:00
|
|
|
|
|
|
|
|
|
|
public string PrivateModeArgument { get; set; } = string.Empty;
|
2019-11-10 19:04:16 +00:00
|
|
|
|
|
2025-10-09 08:36:42 +00:00
|
|
|
|
public bool AlwaysOpenWithHttps { get; set; } = false;
|
2018-12-25 07:11:24 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|