This commit is contained in:
kodjomoustapha 2024-03-28 11:38:51 +01:00
parent 0999fbd5a8
commit 5bb7219fe2
3 changed files with 4 additions and 5 deletions

File diff suppressed because one or more lines are too long

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());
}
}