New sources : Torrentio (Torrent) and Torrentio Anime (Torrent)

This commit is contained in:
kodjomoustapha
2024-12-02 17:59:22 +01:00
parent 6f4eb86490
commit 78f455e97f
4 changed files with 1283 additions and 1 deletions

View File

@@ -58,7 +58,8 @@ List<Source> _searchJsSources(Directory dir) {
final langs = sourceJson["langs"] as List?;
Source source = Source.fromJson(sourceJson)
..sourceCodeLanguage = 1
..appMinVerReq = defaultSource.appMinVerReq
..appMinVerReq =
sourceJson["appMinVerReq"] ?? defaultSource.appMinVerReq
..sourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/javascript/${sourceJson["pkgPath"] ?? sourceJson["pkgName"]}";
if (sourceJson["id"] != null) {