Skip to content

Commit

Permalink
request microphone and camera authorization if needed (for processing…
Browse files Browse the repository at this point in the history
  • Loading branch information
benfry committed Sep 23, 2020
1 parent d416c47 commit c5baab0
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -766,25 +766,13 @@
<option value="-Dcom.apple.macos.useScreenMenuBar=true" />
<option value="-Dcom.apple.smallTabs=true" />

<!--
the old options; most of these are probably no longer useful
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
<key>apple.awt.showGrowBox</key>
<string>true</string>
<key>com.apple.smallTabs</key>
<string>true</string>
<key>apple.awt.Antialiasing</key>
<string>false</string>
<key>apple.awt.TextAntialiasing</key>
<string>true</string>
<key>com.apple.hwaccel</key>
<string>true</string>
<key>apple.awt.use-file-dialog-packages</key>
<string>false</string>
<key>apple.awt.graphics.UseQuartz</key>
<string>true</string>
-->
<!-- Required for video capture and microphone input
https://github.com/processing/processing-sound/issues/51
https://github.com/processing/processing-video/issues/134 -->
<plistentry key="NSCameraUsageDescription" type="string"
value="The sketch you're running needs access to your video camera." />
<plistentry key="NSMicrophoneUsageDescription" type="string"
value="The sketch you're running needs access to your microphone." />
</bundleapp>

<mkdir dir="macosx/work/Processing.app/Contents/Java/Classes" />
Expand Down

0 comments on commit c5baab0

Please sign in to comment.