diff --git a/native/XPlatLauncher/src/remote_dev.rs b/native/XPlatLauncher/src/remote_dev.rs index ead20bbfd98c..5bbd2d81d37f 100644 --- a/native/XPlatLauncher/src/remote_dev.rs +++ b/native/XPlatLauncher/src/remote_dev.rs @@ -537,8 +537,8 @@ impl std::fmt::Display for IjStarterCommand { fn get_known_intellij_commands() -> HashMap<&'static str, IjStarterCommand> { std::collections::HashMap::from([ - ("run", IjStarterCommand {ij_command: "cwmHostNoLobby".to_string(), is_project_path_required: true, is_arguments_required: true}), - ("status", IjStarterCommand {ij_command: "cwmHostStatus".to_string(), is_project_path_required: false, is_arguments_required: false}), + ("run", IjStarterCommand {ij_command: "remoteDevHost".to_string(), is_project_path_required: true, is_arguments_required: true}), + ("status", IjStarterCommand {ij_command: "remoteDevStatus".to_string(), is_project_path_required: false, is_arguments_required: false}), ("cwmHostStatus", IjStarterCommand {ij_command: "cwmHostStatus".to_string(), is_project_path_required: false, is_arguments_required: false}), ("remoteDevStatus", IjStarterCommand {ij_command: "remoteDevStatus".to_string(), is_project_path_required: false, is_arguments_required: false}), ("dumpLaunchParameters", IjStarterCommand {ij_command: "dump-launch-parameters".to_string(), is_project_path_required: false, is_arguments_required: false}), diff --git a/native/XPlatLauncher/tests/remote_dev_tests.rs b/native/XPlatLauncher/tests/remote_dev_tests.rs index 62200eed7842..9847c6bdf52c 100644 --- a/native/XPlatLauncher/tests/remote_dev_tests.rs +++ b/native/XPlatLauncher/tests/remote_dev_tests.rs @@ -44,7 +44,7 @@ mod tests { let remote_dev_command = &["run", &project_dir]; let output = run_launcher_ext(&test, &LauncherRunSpec::remote_dev().with_args(remote_dev_command)).stdout; - assert!(output.contains("cwmHostNoLobby"), "output:\n{}", output); + assert!(output.contains("remoteDevHost"), "output:\n{}", output); assert!(output.contains(project_dir), "output:\n{}", output); assert!(!output.contains("Usage: ./remote-dev-server [ij_command_name] [/path/to/project] [arguments...]"), "output:\n{}", output); }