mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-04 07:35:23 -04:00
Upstream Flathub patches (#7728)
This commit is contained in:
parent
31db3c325d
commit
7cd824ae1c
13 changed files with 169 additions and 20 deletions
|
@ -31,6 +31,9 @@ namespace BrowserShared
|
|||
const auto serverName = QStringLiteral("/org.keepassxc.KeePassXC.BrowserServer");
|
||||
#if defined(KEEPASSXC_DIST_SNAP)
|
||||
return QProcessEnvironment::systemEnvironment().value("SNAP_USER_COMMON") + serverName;
|
||||
#elif defined(KEEPASSXC_DIST_FLATPAK)
|
||||
return QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + "/app/" + "org.keepassxc.KeePassXC"
|
||||
+ serverName;
|
||||
#elif defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
|
||||
// Use XDG_RUNTIME_DIR instead of /tmp if it's available
|
||||
QString path = QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue