From 24f430b384911cf01cce19107e0eca7d15891b3e Mon Sep 17 00:00:00 2001 From: 21pages Date: Sun, 24 May 2026 17:39:10 +0800 Subject: [PATCH] option allow-command-line-settings-when-settings-disabled Signed-off-by: 21pages --- src/config.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 4be1cb49a..491de5e18 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2852,7 +2852,8 @@ pub mod keys { pub const OPTION_ENABLE_RECORD_SESSION: &str = "enable-record-session"; pub const OPTION_ENABLE_BLOCK_INPUT: &str = "enable-block-input"; pub const OPTION_ENABLE_PRIVACY_MODE: &str = "enable-privacy-mode"; - pub const OPTION_ENABLE_PERM_CHANGE_IN_ACCEPT_WINDOW: &str = "enable-perm-change-in-accept-window"; + pub const OPTION_ENABLE_PERM_CHANGE_IN_ACCEPT_WINDOW: &str = + "enable-perm-change-in-accept-window"; pub const OPTION_ALLOW_REMOTE_CONFIG_MODIFICATION: &str = "allow-remote-config-modification"; pub const OPTION_ALLOW_NUMERNIC_ONE_TIME_PASSWORD: &str = "allow-numeric-one-time-password"; pub const OPTION_ENABLE_LAN_DISCOVERY: &str = "enable-lan-discovery"; @@ -2927,6 +2928,8 @@ pub mod keys { pub const OPTION_HIDE_REMOTE_PRINTER_SETTINGS: &str = "hide-remote-printer-settings"; pub const OPTION_HIDE_WEBSOCKET_SETTINGS: &str = "hide-websocket-settings"; pub const OPTION_HIDE_STOP_SERVICE: &str = "hide-stop-service"; + pub const OPTION_ALLOW_COMMAND_LINE_SETTINGS_WHEN_SETTINGS_DISABLED: &str = + "allow-command-line-settings-when-settings-disabled"; // Connection punch-through options pub const OPTION_ENABLE_UDP_PUNCH: &str = "enable-udp-punch"; @@ -3161,6 +3164,7 @@ pub mod keys { OPTION_DISABLE_UNLOCK_PIN, OPTION_USE_RAW_TCP_FOR_API, OPTION_ENABLE_PERM_CHANGE_IN_ACCEPT_WINDOW, + OPTION_ALLOW_COMMAND_LINE_SETTINGS_WHEN_SETTINGS_DISABLED, ]; }