Update StarClientCommandProcessor.cpp

[skip ci]
This commit is contained in:
Kae 2025-01-01 19:43:56 +11:00
parent 5159b073bd
commit 2ccc2ac487

View File

@ -587,7 +587,7 @@ String ClientCommandProcessor::render(String const& path) {
if (!File::isDirectory(outputDirectory)) if (!File::isDirectory(outputDirectory))
File::makeDirectory(outputDirectory); File::makeDirectory(outputDirectory);
image->writePng(File::open(outputPath, IOMode::Write | IOMode::Truncate)); image->writePng(File::open(outputPath, IOMode::Write | IOMode::Truncate));
return strf("Saved {}x{} image to render.png", image->width(), image->height()); return strf("Saved {}x{} image to {}.png", image->width(), image->height(), outputName);
} }