From 2237cf0188af38898e1492f5d7ce2c0f087c8f35 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Fri, 15 May 2020 14:17:58 -0400 Subject: [PATCH] Fix browser socket path for proxy and app * Prefer hardcoded string, we never want this server name to change due to arbitrary reasons. --- src/browser/BrowserShared.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/browser/BrowserShared.cpp b/src/browser/BrowserShared.cpp index 654201705..08b9fe537 100644 --- a/src/browser/BrowserShared.cpp +++ b/src/browser/BrowserShared.cpp @@ -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)