mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-17 17:34:50 -05:00
Added Linux, MacOS, and Windows support for Tor Browser. (#2387)
Add path for native-messaging-hosts on Linux, Windows, and macOS for Tor Browser
This commit is contained in:
parent
5bf4f51389
commit
2ad8036823
7 changed files with 60 additions and 36 deletions
|
|
@ -228,6 +228,17 @@ void BrowserSettings::setVivaldiSupport(bool enabled)
|
|||
HostInstaller::SupportedBrowsers::VIVALDI, enabled, supportBrowserProxy(), customProxyLocation());
|
||||
}
|
||||
|
||||
bool BrowserSettings::torBrowserSupport()
|
||||
{
|
||||
return m_hostInstaller.checkIfInstalled(HostInstaller::SupportedBrowsers::TOR_BROWSER);
|
||||
}
|
||||
|
||||
void BrowserSettings::setTorBrowserSupport(bool enabled)
|
||||
{
|
||||
m_hostInstaller.installBrowser(
|
||||
HostInstaller::SupportedBrowsers::TOR_BROWSER, enabled, supportBrowserProxy(), customProxyLocation());
|
||||
}
|
||||
|
||||
bool BrowserSettings::passwordUseNumbers()
|
||||
{
|
||||
return config()->get("generator/Numbers", PasswordGenerator::DefaultNumbers).toBool();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue