Skip to content

Commit a03cb29

Browse files
committed
use plist as described in tauri-apps/tauri#5572
1 parent b2a47dc commit a03cb29

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

src-tauri/Release.entitlements

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.cs.allow-jit</key>
6+
<true/>
7+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8+
<true/>
9+
<key>com.apple.security.cs.disable-library-validation</key>
10+
<true/>
11+
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
12+
<true/>
13+
<key>com.apple.security.automation.apple-events</key>
14+
<true/>
15+
<key>com.apple.security.device.usb</key>
16+
<true/>
17+
<key>com.apple.security.device.camera</key>
18+
<true/>
19+
<key>com.apple.security.network.server</key>
20+
<true/>
21+
<key>com.apple.security.network.client</key>
22+
<true/>
23+
<key>com.apple.security.inherit</key>
24+
<true/>
25+
</dict>
26+
</plist>

src-tauri/info.plist

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSCameraUsageDescription</key>
6+
<string>Request camera access for WebRTC</string>
7+
<key>NSMicrophoneUsageDescription</key>
8+
<string>Request microphone access for WebRTC</string>
9+
</dict>
10+
</plist>

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"identifier": "com.heyamica.dev",
3636
"longDescription": "",
3737
"macOS": {
38-
"entitlements": null,
38+
"entitlements": "Release.entitlements",
3939
"exceptionDomain": "",
4040
"frameworks": [],
4141
"providerShortName": null,

0 commit comments

Comments
 (0)