This commit is contained in:
kodjomoustapha
2024-03-28 11:38:51 +01:00
parent 4f06bb69dd
commit 6f2ae84eca
2 changed files with 3 additions and 4 deletions

View File

@@ -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 {

View File

@@ -60,7 +60,7 @@ List<Source> _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());
}
}