Better social images

This commit is contained in:
Pieter Vander Vennet 2022-03-08 04:09:03 +01:00
parent 54158767d2
commit 135d8644da
25 changed files with 6032 additions and 668 deletions

View file

@ -102,6 +102,9 @@ class LayerOverviewUtils {
.filter(path => !path.startsWith("./assets/generated"))
let errCount = 0;
for (const path of allSvgs) {
if(path.indexOf("assets/SocialImageTemplate") >= 0){
continue
}
const contents = readFileSync(path, "UTF8")
if (contents.indexOf("data:image/png;") < 0) {
continue;