Add theme introspecting mapcomplete changes

This commit is contained in:
Pieter Vander Vennet 2022-01-16 02:00:55 +01:00
parent ccb548816f
commit 2e2a6965e7
8 changed files with 275 additions and 47 deletions

View file

@ -112,12 +112,13 @@ class LayerOverviewUtils {
writeFileSync("./assets/generated/known_layers.json", JSON.stringify(Array.from(sharedLayers.values())))
/*
writeFileSync('./assets/themes/mapcomplete-changes/icons-mapping.txt', JSON.stringify(
Array.from(sharedThemes.values()).map(th => ({
if: "theme=" + th.id,
then: th.icon
}))
))
)) //*/
}