From 015ed99612241b8dbf2810db478b1485f4c31031 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 d1c1c9ded..d97c97c99 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]