fix: isolate macOS native capture by platform

This commit is contained in:
Etienne Lescot
2026-05-13 16:10:05 +02:00
parent df6da28ad2
commit 179047b834
2 changed files with 24 additions and 1 deletions
+8 -1
View File
@@ -46,6 +46,13 @@
],
"icon": "icons/icons/mac/icon.icns",
"artifactName": "${productName}-Mac-${arch}-${version}-Installer.${ext}",
"extraResources": [
{
"from": "electron/native/bin",
"to": "electron/native/bin",
"filter": ["darwin-*/*"]
}
],
"extendInfo": {
"NSAudioCaptureUsageDescription": "OpenScreen needs audio capture permission to record system audio.",
"NSMicrophoneUsageDescription": "OpenScreen needs microphone access to record voice audio.",
@@ -73,7 +80,7 @@
{
"from": "electron/native/bin",
"to": "electron/native/bin",
"filter": ["**/*"]
"filter": ["win32-*/*"]
}
]
},