diff options
author | Roopesh Chander <roop@roopc.net> | 2018-12-28 00:33:31 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-01-14 14:52:28 +0530 |
commit | d7d4355f5efa9c78d721392c4d7d6474105f29c8 (patch) | |
tree | 89b338d97b44499a08a407f4bb8536ea16b55f2a /WireGuard/WireGuard/UI | |
parent | macOS: Add Network Extensions capability to app (diff) | |
download | wireguard-apple-d7d4355f5efa9c78d721392c4d7d6474105f29c8.tar.xz wireguard-apple-d7d4355f5efa9c78d721392c4d7d6474105f29c8.zip |
Make app groups work on both iOS and macOS
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/Info.plist | 2 | ||||
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/Info.plist | 2 | ||||
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/WireGuard.entitlements | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/Info.plist b/WireGuard/WireGuard/UI/iOS/Info.plist index 9b7bc07..2a943eb 100644 --- a/WireGuard/WireGuard/UI/iOS/Info.plist +++ b/WireGuard/WireGuard/UI/iOS/Info.plist @@ -123,6 +123,6 @@ </dict> </array> <key>com.wireguard.ios.app_group_id</key> - <string>group.$(APP_ID_IOS)</string> + <string>group.$(APP_ID_IOS)</string> </dict> </plist> diff --git a/WireGuard/WireGuard/UI/macOS/Info.plist b/WireGuard/WireGuard/UI/macOS/Info.plist index 01b6caa..0c09003 100644 --- a/WireGuard/WireGuard/UI/macOS/Info.plist +++ b/WireGuard/WireGuard/UI/macOS/Info.plist @@ -28,5 +28,7 @@ <string>MainMenu</string> <key>NSPrincipalClass</key> <string>NSApplication</string> + <key>com.wireguard.macos.app_group_id</key> + <string>$(DEVELOPMENT_TEAM).group.$(APP_ID_MACOS)</string> </dict> </plist> diff --git a/WireGuard/WireGuard/UI/macOS/WireGuard.entitlements b/WireGuard/WireGuard/UI/macOS/WireGuard.entitlements index 90b496c..fd5bd28 100644 --- a/WireGuard/WireGuard/UI/macOS/WireGuard.entitlements +++ b/WireGuard/WireGuard/UI/macOS/WireGuard.entitlements @@ -8,6 +8,10 @@ </array> <key>com.apple.security.app-sandbox</key> <true/> + <key>com.apple.security.application-groups</key> + <array> + <string>$(DEVELOPMENT_TEAM).group.$(APP_ID_MACOS)</string> + </array> <key>com.apple.security.files.user-selected.read-only</key> <true/> </dict> |