mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-02-20 07:55:47 +03:00
Add backwards compatability for Adobe Lightroom
Because it was renamed it may result in unexpected errors --> breaking changes. This is a temporary solution to circumvent the problem. This can be removed once some other breaking changes are also present and a major new version is released. I propose removing this change when https://github.com/simple-icons/simple-icons/issues/1362 is implemented
This commit is contained in:
parent
265bdeacaf
commit
0794f0186a
@ -27,5 +27,19 @@ data.icons.forEach(icon => {
|
||||
);
|
||||
});
|
||||
|
||||
/* Backwards compatibility */
|
||||
// https://github.com/simple-icons/simple-icons/pull/1365
|
||||
const adobeLightroom = icons["Adobe Lightroom Classic"];
|
||||
adobeLightroom.title = "Adobe Lightroom";
|
||||
icons["Adobe Lightroom"] = adobeLightroom;
|
||||
fs.writeFileSync(
|
||||
`${iconsDir}/adobelightroom.svg`,
|
||||
adobeLightroom.svg
|
||||
);
|
||||
fs.writeFileSync(
|
||||
`${iconsDir}/adobelightroom.js`,
|
||||
`module.exports=${JSON.stringify(adobeLightroom)};`
|
||||
);
|
||||
|
||||
// write our generic index.js
|
||||
fs.writeFileSync(indexFile, `module.exports=${JSON.stringify(icons)};`);
|
||||
|
Loading…
Reference in New Issue
Block a user