From a92b7c22bc2b92b3444460fa1d2f313c1dd7e456 Mon Sep 17 00:00:00 2001 From: xuwenwei Date: Tue, 9 Jun 2026 10:45:42 +0800 Subject: [PATCH] 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 --- src/common.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common.rs b/src/common.rs index f23299b..0d0e76a 100644 --- a/src/common.rs +++ b/src/common.rs @@ -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.