File tree Expand file tree Collapse file tree
apps/editor/src/views/panel/backend/message-handlers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,18 +28,17 @@ const start_recording = (panel_provider: PanelProvider) => {
2828
2929 panel_provider . recording_process . on ( 'error' , ( error : any ) => {
3030 if ( error . code == 'ENOENT' ) {
31- let error_message =
32- 'The "rec" command was not found. Please install SoX to use voice input.'
31+ let error_message = 'Please install SoX to use voice input.'
3332
3433 if ( process . platform == 'darwin' ) {
3534 error_message =
36- 'The "rec" command was not found. Please install SoX to use voice input (e.g., run "brew install sox" in your terminal).'
35+ 'Please install SoX to use voice input (run "brew install sox" in your terminal).'
3736 } else if ( process . platform == 'linux' ) {
3837 error_message =
39- 'The "rec" command was not found. Please install SoX to use voice input (e.g., run "sudo apt install sox" in your terminal).'
38+ 'Please install SoX to use voice input (run "sudo apt install sox" in your terminal).'
4039 } else if ( process . platform == 'win32' ) {
4140 error_message =
42- 'The "rec" command was not found. Please install SoX to use voice input (e.g., run "winget install sox.sox" and add it to your PATH).'
41+ 'Please install SoX to use voice input (run "winget install sox.sox" and add it to your PATH).'
4342 }
4443
4544 vscode . window . showErrorMessage ( error_message )
You can’t perform that action at this time.
0 commit comments