mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
removed temp redirect
This commit is contained in:
@@ -3,14 +3,14 @@ import '../../../../model/source.dart';
|
|||||||
Source get novelUpdatesSource => _novelUpdatesSource;
|
Source get novelUpdatesSource => _novelUpdatesSource;
|
||||||
const _novelUpdatesVersion = "0.0.1";
|
const _novelUpdatesVersion = "0.0.1";
|
||||||
const _novelUpdatesSourceCodeUrl =
|
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(
|
Source _novelUpdatesSource = Source(
|
||||||
name: "NovelUpdates",
|
name: "NovelUpdates",
|
||||||
baseUrl: "https://www.novelupdates.com",
|
baseUrl: "https://www.novelupdates.com",
|
||||||
lang: "en",
|
lang: "en",
|
||||||
typeSource: "single",
|
typeSource: "single",
|
||||||
iconUrl:
|
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,
|
sourceCodeUrl: _novelUpdatesSourceCodeUrl,
|
||||||
itemType: ItemType.novel,
|
itemType: ItemType.novel,
|
||||||
version: _novelUpdatesVersion,
|
version: _novelUpdatesVersion,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [
|
|||||||
baseUrl: "https://www.novelupdates.com",
|
baseUrl: "https://www.novelupdates.com",
|
||||||
apiUrl: "",
|
apiUrl: "",
|
||||||
iconUrl:
|
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",
|
typeSource: "single",
|
||||||
itemType: 2,
|
itemType: 2,
|
||||||
version: "0.0.1",
|
version: "0.0.1",
|
||||||
|
|||||||
@@ -78,9 +78,6 @@ List<Source> _searchJsSources(Directory dir) {
|
|||||||
sourceJson["appMinVerReq"] ?? defaultSource.appMinVerReq
|
sourceJson["appMinVerReq"] ?? defaultSource.appMinVerReq
|
||||||
..sourceCodeUrl =
|
..sourceCodeUrl =
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/javascript/${sourceJson["pkgPath"] ?? sourceJson["pkgName"]}";
|
"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) {
|
if (sourceJson["id"] != null) {
|
||||||
source = source..id = int.tryParse("${sourceJson["id"]}");
|
source = source..id = int.tryParse("${sourceJson["id"]}");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user