mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-01 18:07:05 -04:00
Add MacOS App Group used by Safari Web Extension
This commit is contained in:
parent
ed7de52c2f
commit
8603e56e01
2 changed files with 3 additions and 6 deletions
|
@ -4,10 +4,6 @@
|
|||
<dict>
|
||||
<key>com.apple.application-identifier</key>
|
||||
<string>G2S7P7J672.org.keepassxc.keepassxc</string>
|
||||
<key>keychain-access-groups</key>
|
||||
<array>
|
||||
<string>G2S7P7J672.org.keepassxc.keepassxc</string>
|
||||
</array>
|
||||
<key>com.apple.security.application-groups</key>
|
||||
<array>
|
||||
<string>G2S7P7J672.org.keepassxc.keepassxc</string>
|
||||
|
|
|
@ -56,12 +56,13 @@ namespace BrowserShared
|
|||
#elif defined(Q_OS_MACOS)
|
||||
// Get the home directory and append the desired subdirectory
|
||||
QString homePath = QDir::homePath();
|
||||
QString subPath = homePath + "/Library/Group Containers/org.keepassxc.KeePassXC";
|
||||
QString subPath = homePath + "/Library/Group Containers/G2S7P7J672.org.keepassxc.KeePassXC";
|
||||
|
||||
// Make sure the directory exists
|
||||
QDir().mkpath(subPath);
|
||||
|
||||
QString socketPath = subPath + serverName;
|
||||
// The path will become too long therefore we must cut off serverName
|
||||
QString socketPath = subPath + "KeePassXC.BrowserServer";
|
||||
|
||||
return socketPath;
|
||||
#else // others
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue