diff --git a/javascript/anime/src/en/allanime.js b/javascript/anime/src/en/allanime.js index 723dc4f9..c9152ec9 100644 --- a/javascript/anime/src/en/allanime.js +++ b/javascript/anime/src/en/allanime.js @@ -7,11 +7,10 @@ const mangayomiSources = [{ "typeSource": "single", "isManga": false, "isNsfw": false, - "version": "0.0.1", - "apiUrl": "", + "version": "0.0.15", "dateFormat": "", "dateFormatLocale": "", - "pkgName": "anime/src/en/allanime.js" + "pkgPath": "anime/src/en/allanime.js" }]; class DefaultExtension extends MProvider { diff --git a/source_generator.dart b/source_generator.dart index 0c40f999..f2272441 100644 --- a/source_generator.dart +++ b/source_generator.dart @@ -60,7 +60,7 @@ List _searchJsSources(Directory dir) { ..sourceCodeLanguage = 1 ..appMinVerReq = defaultSource.appMinVerReq ..sourceCodeUrl = - "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/javascript/${e["pkgPath"]}") + "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/javascript/${e["pkgPath"] ?? e["pkgName"]}") .toList()); } }