opt: add --cm

This commit is contained in:
Kingtous 2023-01-21 13:16:07 +08:00
parent efe9ba18ca
commit d493a6c27a

View File

@ -14,7 +14,7 @@ typedef char** (*FUNC_RUSTDESK_CORE_MAIN)(int*);
typedef void (*FUNC_RUSTDESK_FREE_ARGS)( char**, int);
const char* uniLinksPrefix = "rustdesk://";
/// Note: `--server`, `--service` are already handled in [core_main.rs].
const std::vector<std::string> parameters_white_list = {"--install"};
const std::vector<std::string> parameters_white_list = {"--install", "--cm"};
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command)