From 237f2adfa6ebe161466bcd8e3ab12705b27caafa Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 7 Jul 2023 18:10:00 +0200 Subject: [PATCH] Fix branding:generate_app_icons failing because of disallowed ICO coder (#25794) --- lib/tasks/branding.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/branding.rake b/lib/tasks/branding.rake index 2eec7c9e1..886cfd39d 100644 --- a/lib/tasks/branding.rake +++ b/lib/tasks/branding.rake @@ -40,7 +40,7 @@ namespace :branding do output_dest = Rails.root.join('app', 'javascript', 'icons') rsvg_convert = Terrapin::CommandLine.new('rsvg-convert', '-w :size -h :size --keep-aspect-ratio :input -o :output') - convert = Terrapin::CommandLine.new('convert', ':input :output') + convert = Terrapin::CommandLine.new('convert', ':input :output', environment: { 'MAGICK_CONFIGURE_PATH' => nil }) favicon_sizes = [16, 32, 48] apple_icon_sizes = [57, 60, 72, 76, 114, 120, 144, 152, 167, 180, 1024]