Skip to content

Commit

Permalink
Try to fix welcome banner
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Mar 3, 2025
1 parent cb298a5 commit 766a333
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/modules/branding/MagickConvert.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function(nsis_banner source_file destination_file size)

# Create a blank canvas
get_filename_component(destination_dir "${destination_file}" DIRECTORY)
file(MAKE_DIRECTORY "${destination_dir}")
execute_process(COMMAND magick
-size "${size}"
canvas: "${temp_file}"
Expand All @@ -43,9 +44,7 @@ function(nsis_banner source_file destination_file size)
COMMAND_ERROR_IS_FATAL ANY
)
# Draw the provided image to it
get_filename_component(destination_dir "${destination_file}" DIRECTORY)
get_filename_component(file_name "${destination_file}" NAME)
file(MAKE_DIRECTORY "${destination_dir}")
execute_process(COMMAND magick
"${temp_file}"
"${source_file}"
Expand Down

0 comments on commit 766a333

Please sign in to comment.