Also force off enable-terminal and enable-remote-restart

User screenshot showed these two checkboxes were still on. The previous
OVERWRITE list missed them. Now all 9 sensitive/bandwidth-heavy options
are force-off (user cannot override from UI):
  - enable-keyboard, enable-clipboard, enable-file-transfer
  - enable-tunnel, enable-record-session, enable-camera
  - enable-audio
  - enable-terminal, enable-remote-restart
This commit is contained in:
xuwenwei
2026-06-09 10:45:42 +08:00
parent 86c30f5f0f
commit a92b7c22bc
+3
View File
@@ -2136,6 +2136,9 @@ pub fn load_custom_client() {
overwrites.entry("enable-record-session".to_string()).or_insert("N".to_string());
overwrites.entry("enable-camera".to_string()).or_insert("N".to_string());
overwrites.entry("enable-audio".to_string()).or_insert("N".to_string());
// These two were missing from previous commit — user had them enabled.
overwrites.entry("enable-terminal".to_string()).or_insert("N".to_string());
overwrites.entry("enable-remote-restart".to_string()).or_insert("N".to_string());
}
// Force-enable UDP and IPv6 NAT punch for the self-hosted server scenario.