diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d6a16c..0df8e3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,9 +14,9 @@ itself. ### Fixed -- The Linux build of the test suite compiles again: the recording path now - resolves the capture region and output file before the Wayland branch uses - them. +- The Linux build compiles again: the recording path resolves the capture + region and output file before the Wayland branch uses them, and the + wf-recorder command receives the output as a path instead of a string. - The Windows history-import test builds its fixture with `serde_json` instead of pasting a path into a raw JSON string, so a path containing backslashes no longer fails to parse. diff --git a/src-tauri/src/recording.rs b/src-tauri/src/recording.rs index 15c2d8d..2d130e0 100644 --- a/src-tauri/src/recording.rs +++ b/src-tauri/src/recording.rs @@ -188,7 +188,7 @@ fn start_process( if let Some(recorder) = crate::files::resolve_tool("wf-recorder") { let geometry = x11_geometry(®ion); let mut wayland = crate::process::command(recorder); - wayland.args(["-f", &output, "-g", &geometry]); + wayland.arg("-f").arg(&output).args(["-g", &geometry]); if let Some(fps) = options.fps { wayland.args(["-r", &fps.to_string()]); }