Fix clipboard save to disk option not working correctly

This commit is contained in:
dec05eba
2026-01-06 22:17:38 +01:00
parent 387141d36f
commit 974e760136
3 changed files with 22 additions and 6 deletions

View File

@@ -3408,6 +3408,8 @@ namespace gsr {
args.push_back(nullptr);
clipboard_file.set_current_file("", ClipboardFile::FileType::JPG);
screenshot_filepath = output_file;
gpu_screen_recorder_screenshot_process = exec_program(args.data(), nullptr);
if(gpu_screen_recorder_screenshot_process == -1) {