Skip to content

Commit

Permalink
Handle spaces in the extractor as well
Browse files Browse the repository at this point in the history
  • Loading branch information
geneotech committed Dec 7, 2023
1 parent bb778fd commit aff8e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application/main/extract_archive.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ struct archive_extractor {
const auto& source = archive_path;
const auto& target = destination_path;

return typesafe_sprintf("%x -o%x", source, target);
return typesafe_sprintf("\"%x\" -o\"%x\"", source, target);
}();

completed_extraction = launch_async(
Expand Down

0 comments on commit aff8e1d

Please sign in to comment.