updating build config and main to make it easier to troubleshoot microphone permissions

This commit is contained in:
itsamejms
2026-03-05 22:41:45 +00:00
parent 84145de2cc
commit 7cf92efe2f
3 changed files with 80 additions and 5 deletions
+34 -1
View File
@@ -34,6 +34,39 @@
"build": {
"appId": "com.whattheflat.app",
"productName": "WhatTheFlat",
"mac": {
"hardenedRuntime": true,
"entitlements": "electron/entitlements.mac.plist",
"entitlementsInherit": "electron/entitlements.mac.plist",
"extendInfo": {
"NSMicrophoneUsageDescription": "WhatTheFlat needs access to your microphone to detect pitch and provide the tuner."
}
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
},
"zip"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Audio"
},
"files": [
"dist/**/*",
"electron/**/*",
@@ -45,4 +78,4 @@
"output": "release"
}
}
}
}