removed temp redirect
This commit is contained in:
parent
2b764e40ef
commit
cbdb59f795
3 changed files with 3 additions and 6 deletions
|
|
@ -3,14 +3,14 @@ import '../../../../model/source.dart';
|
|||
Source get novelUpdatesSource => _novelUpdatesSource;
|
||||
const _novelUpdatesVersion = "0.0.1";
|
||||
const _novelUpdatesSourceCodeUrl =
|
||||
"https://raw.githubusercontent.com/Schnitzel5/mangayomi-extensions/$branchName/dart/novel/src/en/novelupdates.dart";
|
||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/novel/src/en/novelupdates.dart";
|
||||
Source _novelUpdatesSource = Source(
|
||||
name: "NovelUpdates",
|
||||
baseUrl: "https://www.novelupdates.com",
|
||||
lang: "en",
|
||||
typeSource: "single",
|
||||
iconUrl:
|
||||
"https://raw.githubusercontent.com/Schnitzel5/mangayomi-extensions/$branchName/dart/manga/src/en/icon.png",
|
||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/en/icon.png",
|
||||
sourceCodeUrl: _novelUpdatesSourceCodeUrl,
|
||||
itemType: ItemType.novel,
|
||||
version: _novelUpdatesVersion,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ const mangayomiSources = [
|
|||
baseUrl: "https://www.novelupdates.com",
|
||||
apiUrl: "",
|
||||
iconUrl:
|
||||
"https://raw.githubusercontent.com/Schnitzel5/mangayomi-extensions/main/javascript/icon/en.novelupdates.png",
|
||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/en.novelupdates.png",
|
||||
typeSource: "single",
|
||||
itemType: 2,
|
||||
version: "0.0.1",
|
||||
|
|
|
|||
|
|
@ -78,9 +78,6 @@ List<Source> _searchJsSources(Directory dir) {
|
|||
sourceJson["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"]}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue