Commit cc56c35a authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen

Merge branch '334-add-possibility-to-add-svg-images-for-distributions' into 'develop'

Resolve "Add possibility to add SVG images for distributions"

Closes #334

See merge request !591
parents dfc64af9 37d7cd00
Pipeline #9795 passed with stages
in 5 minutes and 57 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