Skip to content

Commit

Permalink
[BUGFIX] Revert SVG usage due to issue with TER
Browse files Browse the repository at this point in the history
TER on typo3.org cannot show svg icons, thus we need to revert
to use a PNG again.
  • Loading branch information
helhum committed Apr 18, 2017
1 parent 0c94fc0 commit 98f6639
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/Configuration/Console/AllCommands.php
/Libraries/*
/ext_emconf.php
/ext_icon.svg
/Resources/Public/Icons/Extension.svg
/ext_icon.png
/Resources/Public/Icons/Extension.png
/ext_localconf.php
/.php_cs.cache
2 changes: 1 addition & 1 deletion Classes/Composer/InstallerScript/InstallDummyExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function run(ScriptEvent $event)

$extResourcesDir = __DIR__ . '/../../../Resources/Private/ExtensionArtifacts';
$resources = [
'ext_icon.svg',
'ext_icon.png',
'ext_emconf.php',
];
foreach ($resources as $resource) {
Expand Down
Binary file added Resources/Private/ExtensionArtifacts/ext_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions Resources/Private/ExtensionArtifacts/ext_icon.svg

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"extension-copy-artifacts": [
"cp -f Resources/Private/ExtensionArtifacts/ext_* .",
"mkdir -p Resources/Public/Icons",
"cp -f ext_icon.svg Resources/Public/Icons/Extension.svg"
"cp -f ext_icon.png Resources/Public/Icons/Extension.png"
],
"extension-create-libs": [
"mkdir -p Libraries/temp",
Expand Down

0 comments on commit 98f6639

Please sign in to comment.