EZmanga: Migrate theme (#7330)

Migrate theme
This commit is contained in:
Chopper 2025-01-26 09:46:00 -03:00 committed by Draff
parent c15852943e
commit 8057b3f55a
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
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_name") private val name: String,
@SerialName("chapter_title") private val title: String? = null, @SerialName("chapter_title") private val title: String? = null,
@SerialName("chapter_slug") private val slug: String, @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, val price: Int? = null,
) { ) {
fun toSChapter( fun toSChapter(

View File

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

View File

@ -1,12 +1,14 @@
package eu.kanade.tachiyomi.extension.en.ezmanga 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", "EZmanga",
"https://ezmanga.org", "https://ezmanga.org",
"en", "en",
) { ) {
// Migrated from Madara to Keyoapp // Migrated from Keyoapp to HeanCms
override val versionId = 2 override val versionId = 3
override val useNewChapterEndpoint = true
} }