mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-25 22:16:01 -05:00
Fix browser socket path for proxy and app
* Prefer hardcoded string, we never want this server name to change due to arbitrary reasons.
This commit is contained in:
parent
689a85a071
commit
2237cf0188
@ -27,8 +27,7 @@ namespace BrowserShared
|
||||
{
|
||||
QString localServerPath()
|
||||
{
|
||||
const auto appName = qApp->property("KPXC_QUALIFIED_APPNAME").toString();
|
||||
const auto serverName = QStringLiteral("/%1.BrowserServer").arg(appName);
|
||||
const auto serverName = QStringLiteral("/org.keepassxc.KeePassXC.BrowserServer");
|
||||
#if defined(KEEPASSXC_DIST_SNAP)
|
||||
return QProcessEnvironment::systemEnvironment().value("SNAP_USER_COMMON") + serverName;
|
||||
#elif defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user