summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-11-25 17:00:02 -0800
committerMicah Lee <micah@micahflee.com>2018-11-25 17:00:02 -0800
commit66e50c96b8f63e82edd1bc0a69cc6f62f3ec1728 (patch)
tree999b13565e96566eb6bde0c52f2e0aecf0d84dfb
parent2cbe8979abe549150513cd7489cf3e2e7b348471 (diff)
downloadonionshare-66e50c96b8f63e82edd1bc0a69cc6f62f3ec1728.tar.gz
onionshare-66e50c96b8f63e82edd1bc0a69cc6f62f3ec1728.zip
Fix indenting in entitlements plist, and give OnionShare read-only access to Tor Browser's data, so it can optionally use Tor Browser's tor
-rw-r--r--install/macos_sandbox/parent.plist14
1 files changed, 9 insertions, 5 deletions
diff --git a/install/macos_sandbox/parent.plist b/install/macos_sandbox/parent.plist
index 6d557cf0..0e4505d5 100644
--- a/install/macos_sandbox/parent.plist
+++ b/install/macos_sandbox/parent.plist
@@ -10,13 +10,17 @@
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
+ <key>com.apple.security.temporary-exception.files.home-relative-path.read-only</key>
+ <array>
+ <string>/Library/Application Support/TorBrowser-Data/Tor/control_auth_cookie</string>
+ </array>
<key>com.apple.security.temporary-exception.files.home-relative-path.read-write</key>
<array>
- <string>/OnionShare</string>
- </array>
+ <string>/OnionShare</string>
+ </array>
<key>com.apple.security.application-groups</key>
- <array>
- <string>com.micahflee.onionshare</string>
- </array>
+ <array>
+ <string>com.micahflee.onionshare</string>
+ </array>
</dict>
</plist>