temp redirect

This commit is contained in:
Schnitzel5 2024-12-01 19:33:47 +01:00
parent 90c8ce01cb
commit 076005c715

View file

@ -77,6 +77,9 @@ List<Source> _searchJsSources(Directory dir) {
..appMinVerReq = defaultSource.appMinVerReq
..sourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/javascript/${sourceJson["pkgPath"] ?? sourceJson["pkgName"]}";
if (source.itemType == ItemType.novel) {
source.sourceCodeUrl = source.sourceCodeUrl?.replaceAll("kodjodevf", "Schnitzel5");
}
if (sourceJson["id"] != null) {
source = source..id = int.tryParse("${sourceJson["id"]}");
}