Commit 37d7cd00 authored by Thomas Löffler's avatar Thomas Löffler

Add svg options for distribution images

parent dfc64af9
Pipeline #9774 passed with stages
in 3 minutes and 59 seconds
......@@ -66,8 +66,10 @@ class ExtensionVersion
'Resources/Public/Icons/Extension.gif' => '.gif',
// Small preview image 220x150
'Resources/Public/Images/Distribution.png' => '_Distribution.png',
'Resources/Public/Images/Distribution.svg' => '_Distribution.svg',
// Big welcome image 300x400
'Resources/Public/Images/DistributionWelcome.png' => '_DistributionWelcome.png'
'Resources/Public/Images/DistributionWelcome.png' => '_DistributionWelcome.png',
'Resources/Public/Images/DistributionWelcome.svg' => '_DistributionWelcome.svg'
];
public function __construct(ExtensionKey $extensionKey, string $version)
......@@ -268,7 +270,9 @@ class ExtensionVersion
'.gif',
'.png',
'_Distribution.png',
'_Distribution.svg',
'_DistributionWelcome.png',
'_DistributionWelcome.svg',
];
foreach ($filesToDelete as $file) {
if (file_exists($fullPathPrefix . $file)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment