mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 02:41:39 +00:00
removed temp redirect
This commit is contained in:
@@ -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"]}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user