Default 'enable-audio' to off via custom.txt (read by Rust load_custom_client)

- Added flutter/macos/Runner/custom.txt with default-settings.enable-audio=N
- Added custom.txt to Xcode Copy Bundle Resources (PBXResourcesBuildPhase)
- RustDesk's load_custom_client() reads this file and injects into DEFAULT_SETTINGS
- Users can still toggle 'Enable audio' in Settings; this just flips the default

This addresses the user's request to disable all 4 audio behaviors by default
(play remote sound, hear remote mic, voice call, capture host audio), all of
which share the single 'enable-audio' option.
This commit is contained in:
xuwenwei
2026-06-08 23:12:09 +08:00
parent cb8de0f28a
commit a5b0c523fc
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"app-name": "RustDesk",
"default-settings": {
"enable-audio": "N"
}
}