8272639: jpackaged applications using microphone on mac
Reviewed-by: almatvee, serb
This commit is contained in:
parent
0e7288ffbf
commit
b17b821a57
@ -139,7 +139,7 @@ public abstract class MacBaseInstallerBundler extends AbstractBundler {
|
|||||||
if (Optional.ofNullable(
|
if (Optional.ofNullable(
|
||||||
SIGN_BUNDLE.fetchFrom(params)).orElse(Boolean.FALSE)) {
|
SIGN_BUNDLE.fetchFrom(params)).orElse(Boolean.FALSE)) {
|
||||||
// if signing bundle with app-image, warn user if app-image
|
// if signing bundle with app-image, warn user if app-image
|
||||||
// is not allready signed.
|
// is not already signed.
|
||||||
try {
|
try {
|
||||||
if (!(AppImageFile.load(applicationImage).isSigned())) {
|
if (!(AppImageFile.load(applicationImage).isSigned())) {
|
||||||
Log.info(MessageFormat.format(I18N.getString(
|
Log.info(MessageFormat.format(I18N.getString(
|
||||||
|
@ -33,5 +33,7 @@
|
|||||||
<string>DEPLOY_BUNDLE_COPYRIGHT</string>DEPLOY_FILE_ASSOCIATIONS
|
<string>DEPLOY_BUNDLE_COPYRIGHT</string>DEPLOY_FILE_ASSOCIATIONS
|
||||||
<key>NSHighResolutionCapable</key>
|
<key>NSHighResolutionCapable</key>
|
||||||
<string>true</string>
|
<string>true</string>
|
||||||
|
<key>NSMicrophoneUsageDescription</key>
|
||||||
|
<string>The application DEPLOY_LAUNCHER_NAME is requesting access to the microphone.</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
@ -14,5 +14,7 @@
|
|||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.cs.debugger</key>
|
<key>com.apple.security.cs.debugger</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
<key>com.apple.security.device.audio-input</key>
|
||||||
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user