EZmanga: Migrate theme (#7330)

Migrate theme
This commit is contained in:
Chopper 2025-01-26 09:46:00 -03:00 committed by GitHub
parent 822fe4cffa
commit c71d517a86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 7 deletions

View File

@ -105,7 +105,7 @@ class HeanCmsChapterDto(
@SerialName("chapter_name") private val name: String,
@SerialName("chapter_title") private val title: String? = null,
@SerialName("chapter_slug") private val slug: String,
@SerialName("created_at") private val createdAt: String,
@SerialName("created_at") private val createdAt: String? = null,
val price: Int? = null,
) {
fun toSChapter(

View File

@ -1,9 +1,9 @@
ext {
extName = 'EZmanga'
extClass = '.EZmanga'
themePkg = 'keyoapp'
themePkg = 'heancms'
baseUrl = 'https://ezmanga.org'
overrideVersionCode = 35
overrideVersionCode = 21
}
apply from: "$rootDir/common.gradle"

View File

@ -1,12 +1,14 @@
package eu.kanade.tachiyomi.extension.en.ezmanga
import eu.kanade.tachiyomi.multisrc.keyoapp.Keyoapp
import eu.kanade.tachiyomi.multisrc.heancms.HeanCms
class EZmanga : Keyoapp(
class EZmanga : HeanCms(
"EZmanga",
"https://ezmanga.org",
"en",
) {
// Migrated from Madara to Keyoapp
override val versionId = 2
// Migrated from Keyoapp to HeanCms
override val versionId = 3
override val useNewChapterEndpoint = true
}