mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-09 23:12:23 -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>
|
<dict>
|
||||||
<key>com.apple.application-identifier</key>
|
<key>com.apple.application-identifier</key>
|
||||||
<string>G2S7P7J672.org.keepassxc.keepassxc</string>
|
<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>
|
<key>com.apple.security.application-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>G2S7P7J672.org.keepassxc.keepassxc</string>
|
<string>G2S7P7J672.org.keepassxc.keepassxc</string>
|
||||||
|
|
|
@ -56,12 +56,13 @@ namespace BrowserShared
|
||||||
#elif defined(Q_OS_MACOS)
|
#elif defined(Q_OS_MACOS)
|
||||||
// Get the home directory and append the desired subdirectory
|
// Get the home directory and append the desired subdirectory
|
||||||
QString homePath = QDir::homePath();
|
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
|
// Make sure the directory exists
|
||||||
QDir().mkpath(subPath);
|
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;
|
return socketPath;
|
||||||
#else // others
|
#else // others
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue