fix: Plugins (#578)

* test

* test

* fix

* any

* update

* update

* fix LightNovelReader

* Why did I do that

* typo

* fix

* type

* unused icons have been removed

* madara...

* ops

* fix

* close #563

* update

* LitSpace

* fix jaomix

* fix renovels

* fix ficbook

* update ficbook
This commit is contained in:
Rider21
2023-10-30 09:45:33 +03:00
committed by GitHub
parent 5258464743
commit ac96c62066
244 changed files with 45894 additions and 18184 deletions
+2 -1
View File
@@ -25,13 +25,14 @@ export const all_plugins = (): PluginList => {
plugin.split(".")[0]
}`;
const instance = require(requirePath);
const { id, name, version } = instance;
const { id, name, version, icon } = instance;
const info: Plugin.Info = {
id,
name,
lang: languageNative,
version,
requirePath,
icon,
}; // lang: language with native name
res[info.lang].push(info);
});