|
|
@@ -500,7 +500,8 @@ async function getCustomThemes() {
|
|
|
symlink: true,
|
|
|
})) {
|
|
|
const name = path.basename(item, ".json")
|
|
|
- result[name] = await Filesystem.readJson(item)
|
|
|
+ const theme = await Filesystem.readJson(item)
|
|
|
+ if (isTheme(theme)) result[name] = theme
|
|
|
}
|
|
|
}
|
|
|
return result
|