Skip to content

Commit

Permalink
add entitlements from old app back in
Browse files Browse the repository at this point in the history
  • Loading branch information
filleduchaos committed Sep 12, 2024
1 parent 5a6f8f1 commit 2c26540
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apps/desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "desktop"
version = "0.3.0-alpha.8"
description = "A Tauri App"
version = "0.3.0-alpha.9"
description = "Effortless, instant screen sharing. Open source and cross-platform."
authors = ["you"]
edition = "2021"

Expand Down
30 changes: 30 additions & 0 deletions apps/desktop/src-tauri/Entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.automation.apple-events</key>
<true/>
<key>com.apple.security.device.usb</key>
<true/>
<key>com.apple.security.device.camera</key>
<true/>
<key>com.apple.security.device.microphone</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.inherit</key>
<true/>
</dict>
</plist>
5 changes: 5 additions & 0 deletions apps/desktop/src-tauri/tauri.conf.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@
"updater": {
"active": true
}
},
"bundle": {
"macOS": {
"entitlements": "Entitlements.plist"
}
}
}

0 comments on commit 2c26540

Please sign in to comment.