From a3ff4836397732a5f46072805cb5c7dca46a4379 Mon Sep 17 00:00:00 2001 From: 21pages Date: Fri, 26 Sep 2025 11:04:46 +0800 Subject: [PATCH] more preset options Signed-off-by: 21pages --- src/config.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/config.rs b/src/config.rs index 852432be5..c545114e6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2495,6 +2495,12 @@ pub mod keys { pub const OPTION_ALLOW_WEBSOCKET: &str = "allow-websocket"; pub const OPTION_PRESET_ADDRESS_BOOK_NAME: &str = "preset-address-book-name"; pub const OPTION_PRESET_ADDRESS_BOOK_TAG: &str = "preset-address-book-tag"; + pub const OPTION_PRESET_ADDRESS_BOOK_ALIAS: &str = "preset-address-book-alias"; + pub const OPTION_PRESET_ADDRESS_BOOK_PASSWORD: &str = "preset-address-book-password"; + pub const OPTION_PRESET_ADDRESS_BOOK_NOTE: &str = "preset-address-book-note"; + pub const OPTION_PRESET_DEVICE_USERNAME: &str = "preset-device-username"; + pub const OPTION_PRESET_DEVICE_NAME: &str = "preset-device-name"; + pub const OPTION_PRESET_NOTE: &str = "preset-note"; pub const OPTION_ENABLE_DIRECTX_CAPTURE: &str = "enable-directx-capture"; pub const OPTION_ENABLE_ANDROID_SOFTWARE_ENCODING_HALF_SCALE: &str = "enable-android-software-encoding-half-scale"; @@ -2675,6 +2681,12 @@ pub mod keys { OPTION_ALLOW_WEBSOCKET, OPTION_PRESET_ADDRESS_BOOK_NAME, OPTION_PRESET_ADDRESS_BOOK_TAG, + OPTION_PRESET_ADDRESS_BOOK_ALIAS, + OPTION_PRESET_ADDRESS_BOOK_PASSWORD, + OPTION_PRESET_ADDRESS_BOOK_NOTE, + OPTION_PRESET_DEVICE_USERNAME, + OPTION_PRESET_DEVICE_NAME, + OPTION_PRESET_NOTE, OPTION_ENABLE_DIRECTX_CAPTURE, OPTION_ENABLE_ANDROID_SOFTWARE_ENCODING_HALF_SCALE, OPTION_ENABLE_TRUSTED_DEVICES,