support voice chat and stuff
This commit is contained in:
parent
e5cd435ecf
commit
d4fc3a5cb6
2 changed files with 25 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ icons = [
|
|||
[package.metadata.packager.macos]
|
||||
minimum-system-version = "10.15"
|
||||
entitlements = "distribution/App.entitlements"
|
||||
info-plist-path = "distribution/Info.plist"
|
||||
|
||||
[package.metadata.packager.dmg]
|
||||
background = "distribution/dmg-background.tiff"
|
||||
|
|
|
|||
24
packages/oneclient_app/distribution/Info.plist
Normal file
24
packages/oneclient_app/distribution/Info.plist
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?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>
|
||||
<!-- registers our uri handler on macos -->
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleURLName</key>
|
||||
<string>OneClient</string>
|
||||
<key>CFBundleURLSchemes</key>
|
||||
<array>
|
||||
<string>oneclient</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
<!-- allows us to request camera permissions (for things like voice chat) -->
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>A Minecraft mod is requesting access to your camera.</string>
|
||||
<!-- allows us to request microphone permissions (for things like voice chat) -->
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>A Minecraft mod is requesting access to your microphone.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Loading…
Add table
Reference in a new issue