come up to date with keiyoushi builds
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="A3MangaGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.a3manga.A3MangaGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=a3manga" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=a3manga" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="BakaMangaGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.bakamanga.BakaMangaGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=bakamanga" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=bakamanga" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="BakkinGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.bakkin.BakkinGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=bakkin" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=bakkin" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="BilibiliGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.bilibili.BilibiliGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=bilibili" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=bilibili" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="ChanGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.multichan.ChanGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=multichan" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=multichan" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="ComiCakeGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.comicake.ComiCakeGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=comicake" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=comicake" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="ComicGammaGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.comicgamma.ComicGammaGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=comicgamma" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=comicgamma" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="EroMuseGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.eromuse.EroMuseGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=eromuse" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=eromuse" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="FMReaderGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.fmreader.FMReaderGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=fmreader" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=fmreader" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="FansubsCatGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.fansubscat.FansubsCatGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=fansubscat" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=fansubscat" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="FlixScansGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.flixscans.FlixScansGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=flixscans" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=flixscans" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="FoolSlideGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.foolslide.FoolSlideGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=foolslide" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=foolslide" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="GattsuGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.gattsu.GattsuGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=gattsu" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=gattsu" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="GigaViewerGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.gigaviewer.GigaViewerGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=gigaviewer" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=gigaviewer" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="GroupLeGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.grouple.GroupLeGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=grouple" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=grouple" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="GuyaGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.guya.GuyaGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=guya" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=guya" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="HeanCmsGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.heancms.HeanCmsGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=heancms" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=heancms" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="HentaiHandGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.hentaihand.HentaiHandGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=hentaihand" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=hentaihand" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="KemonoGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.kemono.KemonoGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=kemono" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=kemono" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="LibGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.libgroup.LibGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=libgroup" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=libgroup" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MCCMSGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mccms.MCCMSGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mccms" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mccms" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MMRCMSGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mmrcms.MMRCMSGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mmrcms" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mmrcms" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MadThemeGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.madtheme.MadThemeGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=madtheme" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=madtheme" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MangAdventureGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mangadventure.MangAdventureGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangadventure" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangadventure" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MangaBoxGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mangabox.MangaBoxGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangabox" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangabox" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MangaCatalogGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalogGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangacatalog" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangacatalog" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MangaHubGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mangahub.MangaHubGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangahub" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangahub" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MangaMainacGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mangamainac.MangaMainacGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangamainac" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangamainac" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MangaRawGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mangaraw.MangaRawGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangaraw" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangaraw" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MangaReaderGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mangareader.MangaReaderGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangareader" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangareader" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MangaSarGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mangasar.MangaSarGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangasar" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangasar" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MangaWorldGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mangaworld.MangaWorldGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangaworld" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mangaworld" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MonochromeGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.monochrome.MonochromeGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=monochrome" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=monochrome" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="MyMangaCMSGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.mymangacms.MyMangaCMSGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mymangacms" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=mymangacms" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="NepNepGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.nepnep.NepNepGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=nepnep" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=nepnep" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="OtakuSanctuaryGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.otakusanctuary.OtakuSanctuaryGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=otakusanctuary" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=otakusanctuary" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="PaprikaAltGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.paprika.PaprikaAltGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=paprika" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=paprika" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="PaprikaGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.paprika.PaprikaGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=paprika" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=paprika" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="PizzaReaderGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.pizzareader.PizzaReaderGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=pizzareader" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=pizzareader" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="ReadAllComicsGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.readallcomics.ReadAllComicsGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=readallcomics" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=readallcomics" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="ReaderFrontGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.readerfront.ReaderFrontGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=readerfront" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=readerfront" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="SinMHGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.sinmh.SinMHGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=sinmh" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=sinmh" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="WPComicsGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.wpcomics.WPComicsGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=wpcomics" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=wpcomics" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="WebtoonsGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.webtoons.WebtoonsGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=webtoons" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=webtoons" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="WebtoonsTranslateGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.webtoons.WebtoonsTranslateGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=webtoons" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=webtoons" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="ZMangaGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.zmanga.ZMangaGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=zmanga" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=zmanga" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="ZbuluGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.zbulu.ZbuluGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=zbulu" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=zbulu" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<component name="ProjectRunConfigurationManager">
|
|
||||||
<configuration default="false" name="ZeistMangaGenerator" type="JetRunConfigurationType" nameIsGenerated="true">
|
|
||||||
<module name="tachiyomi-extensions.multisrc.main" />
|
|
||||||
<option name="MAIN_CLASS_NAME" value="eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistMangaGenerator" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktFormat" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=zeistmanga" />
|
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="ktLint" externalProjectPath="$PROJECT_DIR$/multisrc" vmOptions="" scriptParameters="-Ptheme=zeistmanga" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
</component>
|
|
|
@ -1,126 +0,0 @@
|
||||||
# Contributor Covenant Code of Conduct
|
|
||||||
|
|
||||||
## Our Pledge
|
|
||||||
|
|
||||||
We as members, contributors, and leaders pledge to make participation in our
|
|
||||||
community a harassment-free experience for everyone, regardless of age, body
|
|
||||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
||||||
identity and expression, level of experience, education, socio-economic status,
|
|
||||||
nationality, personal appearance, race, caste, color, religion, or sexual identity
|
|
||||||
and orientation.
|
|
||||||
|
|
||||||
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
||||||
diverse, inclusive, and healthy community.
|
|
||||||
|
|
||||||
## Our Standards
|
|
||||||
|
|
||||||
Examples of behavior that contributes to a positive environment for our
|
|
||||||
community include:
|
|
||||||
|
|
||||||
* Demonstrating empathy and kindness toward other people
|
|
||||||
* Being respectful of differing opinions, viewpoints, and experiences
|
|
||||||
* Giving and gracefully accepting constructive feedback
|
|
||||||
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
||||||
and learning from the experience
|
|
||||||
* Focusing on what is best not just for us as individuals, but for the
|
|
||||||
overall community
|
|
||||||
|
|
||||||
Examples of unacceptable behavior include:
|
|
||||||
|
|
||||||
* The use of sexualized language or imagery, and sexual attention or
|
|
||||||
advances of any kind
|
|
||||||
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
||||||
* Public or private harassment
|
|
||||||
* Publishing others' private information, such as a physical or email
|
|
||||||
address, without their explicit permission
|
|
||||||
* Other conduct which could reasonably be considered inappropriate in a
|
|
||||||
professional setting
|
|
||||||
|
|
||||||
## Enforcement Responsibilities
|
|
||||||
|
|
||||||
Community moderators are responsible for clarifying and enforcing our standards of
|
|
||||||
acceptable behavior and will take appropriate and fair corrective action in
|
|
||||||
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
||||||
or harmful.
|
|
||||||
|
|
||||||
Community moderators have the right and responsibility to remove, edit, or reject
|
|
||||||
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
||||||
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
||||||
decisions when appropriate.
|
|
||||||
|
|
||||||
## Scope
|
|
||||||
|
|
||||||
This Code of Conduct applies within all community spaces, and also applies when
|
|
||||||
an individual is officially representing the community in public spaces.
|
|
||||||
Examples of representing our community include using an official e-mail address,
|
|
||||||
posting via an official social media account, or acting as an appointed
|
|
||||||
representative at an online or offline event.
|
|
||||||
|
|
||||||
## Enforcement
|
|
||||||
|
|
||||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
||||||
reported to the community moderators responsible for enforcement at
|
|
||||||
the [Tachiyomi Discord server](https://discord.gg/tachiyomi).
|
|
||||||
All complaints will be reviewed and investigated promptly and fairly.
|
|
||||||
|
|
||||||
All community moderators are obligated to respect the privacy and security of the
|
|
||||||
reporter of any incident.
|
|
||||||
|
|
||||||
## Enforcement Guidelines
|
|
||||||
|
|
||||||
Community moderators will follow these Community Impact Guidelines in determining
|
|
||||||
the consequences for any action they deem in violation of this Code of Conduct:
|
|
||||||
|
|
||||||
### 1. Correction
|
|
||||||
|
|
||||||
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
||||||
unprofessional or unwelcome in the community.
|
|
||||||
|
|
||||||
**Consequence**: A private, written warning from community moderators, providing
|
|
||||||
clarity around the nature of the violation and an explanation of why the
|
|
||||||
behavior was inappropriate. A public apology may be requested.
|
|
||||||
|
|
||||||
### 2. Warning
|
|
||||||
|
|
||||||
**Community Impact**: A violation through a single incident or series
|
|
||||||
of actions.
|
|
||||||
|
|
||||||
**Consequence**: A warning with consequences for continued behavior. No
|
|
||||||
interaction with the people involved, including unsolicited interaction with
|
|
||||||
those enforcing the Code of Conduct, for a specified period of time. This
|
|
||||||
includes avoiding interactions in community spaces as well as external channels
|
|
||||||
like social media. Violating these terms may lead to a temporary or
|
|
||||||
permanent ban.
|
|
||||||
|
|
||||||
### 3. Temporary Ban
|
|
||||||
|
|
||||||
**Community Impact**: A serious violation of community standards, including
|
|
||||||
sustained inappropriate behavior.
|
|
||||||
|
|
||||||
**Consequence**: A temporary ban from any sort of interaction or public
|
|
||||||
communication with the community for a specified period of time. No public or
|
|
||||||
private interaction with the people involved, including unsolicited interaction
|
|
||||||
with those enforcing the Code of Conduct, is allowed during this period.
|
|
||||||
Violating these terms may lead to a permanent ban.
|
|
||||||
|
|
||||||
### 4. Permanent Ban
|
|
||||||
|
|
||||||
**Community Impact**: Demonstrating a pattern of violation of community
|
|
||||||
standards, including sustained inappropriate behavior, harassment of an
|
|
||||||
individual, or aggression toward or disparagement of classes of individuals.
|
|
||||||
|
|
||||||
**Consequence**: A permanent ban from any sort of public interaction within
|
|
||||||
the community.
|
|
||||||
|
|
||||||
## Attribution
|
|
||||||
|
|
||||||
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/),
|
|
||||||
version 2.1, available at
|
|
||||||
[v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).
|
|
||||||
|
|
||||||
Community Impact Guidelines were inspired by
|
|
||||||
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|
|
||||||
|
|
||||||
For answers to common questions about this code of conduct, see the FAQ at
|
|
||||||
[FAQ](https://www.contributor-covenant.org/faq). Translations are available
|
|
||||||
at [translations](https://www.contributor-covenant.org/translations).
|
|
493
CONTRIBUTING.md
|
@ -1,63 +1,45 @@
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
This guide have some instructions and tips on how to create a new Tachiyomi extension. Please **read it carefully** if you're a new contributor or don't have any experience on the required languages and knowledges.
|
This guide have some instructions and tips on how to create a new Tachiyomi extension. Please **read
|
||||||
|
it carefully** if you're a new contributor or don't have any experience on the required languages
|
||||||
|
and knowledges.
|
||||||
|
|
||||||
This guide is not definitive and it's being updated over time. If you find any issue on it, feel free to report it through a [Meta Issue](https://github.com/tachiyomiorg/tachiyomi-extensions/issues/new?assignees=&labels=Meta+request&template=request_meta.yml) or fixing it directly by submitting a Pull Request.
|
This guide is not definitive and it's being updated over time. If you find any issue on it, feel
|
||||||
|
free to report it through a [Meta Issue](https://github.com/keiyoushi/extensions-source/issues/new?assignees=&labels=Meta+request&template=06_request_meta.yml)
|
||||||
|
or fixing it directly by submitting a Pull Request.
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
- [Contributing](#contributing)
|
1. [Prerequisites](#prerequisites)
|
||||||
- [Table of Contents](#table-of-contents)
|
1. [Tools](#tools)
|
||||||
- [Prerequisites](#prerequisites)
|
2. [Cloning the repository](#cloning-the-repository)
|
||||||
- [Tools](#tools)
|
2. [Getting help](#getting-help)
|
||||||
- [Cloning the repository](#cloning-the-repository)
|
3. [Writing an extension](#writing-an-extension)
|
||||||
- [Getting help](#getting-help)
|
1. [Setting up a new Gradle module](#setting-up-a-new-gradle-module)
|
||||||
- [Writing an extension](#writing-an-extension)
|
2. [Core dependencies](#core-dependencies)
|
||||||
- [Setting up a new Gradle module](#setting-up-a-new-gradle-module)
|
3. [Extension main class](#extension-main-class)
|
||||||
- [Loading a subset of Gradle modules](#loading-a-subset-of-gradle-modules)
|
4. [Extension call flow](#extension-call-flow)
|
||||||
- [Extension file structure](#extension-file-structure)
|
5. [Misc notes](#misc-notes)
|
||||||
- [AndroidManifest.xml](#androidmanifestxml)
|
6. [Advanced extension features](#advanced-extension-features)
|
||||||
- [build.gradle](#buildgradle)
|
4. [Multi-source themes](#multi-source-themes)
|
||||||
- [Core dependencies](#core-dependencies)
|
1. [The directory structure](#the-directory-structure)
|
||||||
- [Extension API](#extension-api)
|
2. [Development workflow](#development-workflow)
|
||||||
- [DataImage library](#dataimage-library)
|
3. [Scaffolding overrides](#scaffolding-overrides)
|
||||||
- [i18n library](#i18n-library)
|
4. [Additional Notes](#additional-notes)
|
||||||
- [Additional dependencies](#additional-dependencies)
|
5. [Running](#running)
|
||||||
- [Extension main class](#extension-main-class)
|
6. [Debugging](#debugging)
|
||||||
- [Main class key variables](#main-class-key-variables)
|
1. [Android Debugger](#android-debugger)
|
||||||
- [Extension call flow](#extension-call-flow)
|
2. [Logs](#logs)
|
||||||
- [Popular Manga](#popular-manga)
|
3. [Inspecting network calls](#inspecting-network-calls)
|
||||||
- [Latest Manga](#latest-manga)
|
4. [Using external network inspecting tools](#using-external-network-inspecting-tools)
|
||||||
- [Manga Search](#manga-search)
|
7. [Building](#building)
|
||||||
- [Filters](#filters)
|
8. [Submitting the changes](#submitting-the-changes)
|
||||||
- [Manga Details](#manga-details)
|
1. [Pull Request checklist](#pull-request-checklist)
|
||||||
- [Chapter](#chapter)
|
|
||||||
- [Chapter Pages](#chapter-pages)
|
|
||||||
- [Misc notes](#misc-notes)
|
|
||||||
- [Advanced Extension features](#advanced-extension-features)
|
|
||||||
- [URL intent filter](#url-intent-filter)
|
|
||||||
- [Update strategy](#update-strategy)
|
|
||||||
- [Renaming existing sources](#renaming-existing-sources)
|
|
||||||
- [Multi-source themes](#multi-source-themes)
|
|
||||||
- [The directory structure](#the-directory-structure)
|
|
||||||
- [Development workflow](#development-workflow)
|
|
||||||
- [Scaffolding overrides](#scaffolding-overrides)
|
|
||||||
- [Additional Notes](#additional-notes)
|
|
||||||
- [Running](#running)
|
|
||||||
- [Debugging](#debugging)
|
|
||||||
- [Android Debugger](#android-debugger)
|
|
||||||
- [Logs](#logs)
|
|
||||||
- [Inspecting network calls](#inspecting-network-calls)
|
|
||||||
- [Using external network inspecting tools](#using-external-network-inspecting-tools)
|
|
||||||
- [Setup your proxy server](#setup-your-proxy-server)
|
|
||||||
- [OkHttp proxy setup](#okhttp-proxy-setup)
|
|
||||||
- [Building](#building)
|
|
||||||
- [Submitting the changes](#submitting-the-changes)
|
|
||||||
- [Pull Request checklist](#pull-request-checklist)
|
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
Before you start, please note that the ability to use following technologies is **required** and that existing contributors will not actively teach them to you.
|
Before you start, please note that the ability to use following technologies is **required** and
|
||||||
|
that existing contributors will not actively teach them to you.
|
||||||
|
|
||||||
- Basic [Android development](https://developer.android.com/)
|
- Basic [Android development](https://developer.android.com/)
|
||||||
- [Kotlin](https://kotlinlang.org/)
|
- [Kotlin](https://kotlinlang.org/)
|
||||||
|
@ -75,20 +57,20 @@ Before you start, please note that the ability to use following technologies is
|
||||||
|
|
||||||
### Cloning the repository
|
### Cloning the repository
|
||||||
|
|
||||||
Some alternative steps can be followed to ignore "repo" branch and skip unrelated sources, which will make it faster to pull, navigate and build. This will also reduce disk usage and network traffic.
|
Some alternative steps can be followed to skip unrelated sources, which will make it faster to pull,
|
||||||
|
navigate and build. This will also reduce disk usage and network traffic.
|
||||||
|
|
||||||
|
**These steps are only needed when the repo is huge and contains a lot of sources. If the repo is
|
||||||
|
small, just do a normal full clone instead.**
|
||||||
|
|
||||||
<details><summary>Steps</summary>
|
<details><summary>Steps</summary>
|
||||||
|
|
||||||
1. Make sure to delete "repo" branch in your fork. You may also want to disable Actions in the repo settings.
|
1. Do a partial clone.
|
||||||
|
|
||||||
**Also make sure you are using the latest version of Git as many commands used here are pretty new.**
|
|
||||||
|
|
||||||
2. Do a partial clone.
|
|
||||||
```bash
|
```bash
|
||||||
git clone --filter=blob:none --sparse <fork-repo-url>
|
git clone --filter=blob:none --sparse <fork-repo-url>
|
||||||
cd tachiyomi-extensions/
|
cd extensions/
|
||||||
```
|
```
|
||||||
3. Configure sparse checkout.
|
2. Configure sparse checkout.
|
||||||
|
|
||||||
There are two modes of pattern matching. The default is cone (🔺) mode.
|
There are two modes of pattern matching. The default is cone (🔺) mode.
|
||||||
Cone mode enables significantly faster pattern matching for big monorepos
|
Cone mode enables significantly faster pattern matching for big monorepos
|
||||||
|
@ -144,37 +126,34 @@ Some alternative steps can be followed to ignore "repo" branch and skip unrelate
|
||||||
Explanation: the rules are like `gitignore`. We first exclude all sources
|
Explanation: the rules are like `gitignore`. We first exclude all sources
|
||||||
while retaining project folders, then add the needed sources back manually.
|
while retaining project folders, then add the needed sources back manually.
|
||||||
|
|
||||||
4. Configure remotes.
|
3. Configure remotes.
|
||||||
```bash
|
```bash
|
||||||
# add upstream
|
# add upstream
|
||||||
git remote add upstream <tachiyomiorg-repo-url>
|
git remote add upstream <keiyoushi-repo-url>
|
||||||
# optionally disable push to upstream
|
# optionally disable push to upstream
|
||||||
git remote set-url --push upstream no_pushing
|
git remote set-url --push upstream no_pushing
|
||||||
# ignore 'repo' branch of upstream
|
# optionally fetch main only (ignore all other branches)
|
||||||
# option 1: use negative refspec
|
git config remote.upstream.fetch "+refs/heads/main:refs/remotes/upstream/main"
|
||||||
git config --add remote.upstream.fetch "^refs/heads/repo"
|
|
||||||
# option 2: fetch master only (ignore all other branches)
|
|
||||||
git config remote.upstream.fetch "+refs/heads/master:refs/remotes/upstream/master"
|
|
||||||
# update remotes
|
# update remotes
|
||||||
git remote update
|
git remote update
|
||||||
# track master of upstream instead of fork
|
# track main of upstream instead of fork
|
||||||
git branch master -u upstream/master
|
git branch main -u upstream/main
|
||||||
```
|
```
|
||||||
5. Useful configurations. (optional)
|
4. Useful configurations. (optional)
|
||||||
```bash
|
```bash
|
||||||
# prune obsolete remote branches on fetch
|
# prune obsolete remote branches on fetch
|
||||||
git config remote.origin.prune true
|
git config remote.origin.prune true
|
||||||
# fast-forward only when pulling master branch
|
# fast-forward only when pulling main branch
|
||||||
git config pull.ff only
|
git config pull.ff only
|
||||||
# Add an alias to sync master branch without fetching useless blobs.
|
# Add an alias to sync main branch without fetching useless blobs.
|
||||||
# If you run `git pull` to fast-forward in a blobless clone like this,
|
# If you run `git pull` to fast-forward in a blobless clone like this,
|
||||||
# all blobs (files) in the new commits are still fetched regardless of
|
# all blobs (files) in the new commits are still fetched regardless of
|
||||||
# sparse rules, which makes the local repo accumulate unused files.
|
# sparse rules, which makes the local repo accumulate unused files.
|
||||||
# Use `git sync-master` to avoid this. Be careful if you have changes
|
# Use `git sync-main` to avoid this. Be careful if you have changes
|
||||||
# on master branch, which is not a good practice.
|
# on main branch, which is not a good practice.
|
||||||
git config alias.sync-master '!git switch master && git fetch upstream && git reset --keep FETCH_HEAD'
|
git config alias.sync-main '!git switch main && git fetch upstream && git reset --keep FETCH_HEAD'
|
||||||
```
|
```
|
||||||
6. Later, if you change the sparse checkout filter, run `git sparse-checkout reapply`.
|
5. Later, if you change the sparse checkout filter, run `git sparse-checkout reapply`.
|
||||||
|
|
||||||
Read more on
|
Read more on
|
||||||
[Git's object model](https://github.blog/2020-12-17-commits-are-snapshots-not-diffs/),
|
[Git's object model](https://github.blog/2020-12-17-commits-are-snapshots-not-diffs/),
|
||||||
|
@ -186,22 +165,28 @@ and [negative refspecs](https://github.blog/2020-10-19-git-2-29-released/#user-c
|
||||||
|
|
||||||
## Getting help
|
## Getting help
|
||||||
|
|
||||||
- Join [the Discord server](https://discord.gg/tachiyomi) for online help and to ask questions while developing your extension. When doing so, please ask it in the `#programming` channel.
|
- Join [the Discord server](https://discord.gg/3FbCpdKbdY) for online help and to ask questions while
|
||||||
- There are some features and tricks that are not explored in this document. Refer to existing extension code for examples.
|
developing your extension. When doing so, please ask it in the `#programming` channel.
|
||||||
|
- There are some features and tricks that are not explored in this document. Refer to existing
|
||||||
|
extension code for examples.
|
||||||
|
|
||||||
## Writing an extension
|
## Writing an extension
|
||||||
|
|
||||||
The quickest way to get started is to copy an existing extension's folder structure and renaming it as needed. We also recommend reading through a few existing extensions' code before you start.
|
The quickest way to get started is to copy an existing extension's folder structure and renaming it
|
||||||
|
as needed. We also recommend reading through a few existing extensions' code before you start.
|
||||||
|
|
||||||
### Setting up a new Gradle module
|
### Setting up a new Gradle module
|
||||||
|
|
||||||
Each extension should reside in `src/<lang>/<mysourcename>`. Use `all` as `<lang>` if your target source supports multiple languages or if it could support multiple sources.
|
Each extension should reside in `src/<lang>/<mysourcename>`. Use `all` as `<lang>` if your target
|
||||||
|
source supports multiple languages or if it could support multiple sources.
|
||||||
|
|
||||||
The `<lang>` used in the folder inside `src` should be the major `language` part. For example, if you will be creating a `pt-BR` source, use `<lang>` here as `pt` only. Inside the source class, use the full locale string instead.
|
The `<lang>` used in the folder inside `src` should be the major `language` part. For example, if
|
||||||
|
you will be creating a `pt-BR` source, use `<lang>` here as `pt` only. Inside the source class, use
|
||||||
|
the full locale string instead.
|
||||||
|
|
||||||
### Loading a subset of Gradle modules
|
### Loading a subset of Gradle modules
|
||||||
|
|
||||||
By default, all individual and generated multisrc extensions are loaded for local development.
|
By default, all individual and generated multisrc extensions are loaded for local development.
|
||||||
This may be inconvenient if you only need to work on one extension at a time.
|
This may be inconvenient if you only need to work on one extension at a time.
|
||||||
|
|
||||||
To adjust which modules are loaded, make adjustments to the `settings.gradle.kts` file as needed.
|
To adjust which modules are loaded, make adjustments to the `settings.gradle.kts` file as needed.
|
||||||
|
@ -238,8 +223,14 @@ src/<lang>/<mysourcename>/
|
||||||
13 directories, 9 files
|
13 directories, 9 files
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`<lang>` should be an ISO 639-1 compliant language code (two letters or `all`). `<mysourcename>`
|
||||||
|
should be adapted from the site name, and can only contain lowercase ASCII letters and digits.
|
||||||
|
Your extension code must be placed in the package `eu.kanade.tachiyomi.extension.<lang>.<mysourcename>`.
|
||||||
|
|
||||||
#### AndroidManifest.xml
|
#### AndroidManifest.xml
|
||||||
A minimal [Android manifest file](https://developer.android.com/guide/topics/manifest/manifest-intro) is needed for Android to recognize a extension when it's compiled into an APK file. You can also add intent filters inside this file (see [URL intent filter](#url-intent-filter) for more information).
|
A minimal [Android manifest file](https://developer.android.com/guide/topics/manifest/manifest-intro)
|
||||||
|
is needed for Android to recognize an extension when it's compiled into an APK file. You can also add
|
||||||
|
intent filters inside this file (see [URL intent filter](#url-intent-filter) for more information).
|
||||||
|
|
||||||
#### build.gradle
|
#### build.gradle
|
||||||
Make sure that your new extension's `build.gradle` file follows the following structure:
|
Make sure that your new extension's `build.gradle` file follows the following structure:
|
||||||
|
@ -247,7 +238,6 @@ Make sure that your new extension's `build.gradle` file follows the following st
|
||||||
```gradle
|
```gradle
|
||||||
ext {
|
ext {
|
||||||
extName = '<My source name>'
|
extName = '<My source name>'
|
||||||
pkgNameSuffix = '<lang>.<mysourcename>'
|
|
||||||
extClass = '.<MySourceName>'
|
extClass = '.<MySourceName>'
|
||||||
extVersionCode = 1
|
extVersionCode = 1
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
|
@ -256,26 +246,31 @@ ext {
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
```
|
```
|
||||||
|
|
||||||
| Field | Description |
|
| Field | Description |
|
||||||
| ----- | ----------- |
|
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `extName` | The name of the extension. |
|
| `extName` | The name of the extension. Should be romanized if site name is not in English. |
|
||||||
| `pkgNameSuffix` | A unique suffix added to `eu.kanade.tachiyomi.extension`. The language and the site name should be enough. Remember your extension code implementation must be placed in this package. |
|
| `extClass` | Points to the class that implements `Source`. You can use a relative path starting with a dot (the package name is the base path). This is used to find and instantiate the source(s). |
|
||||||
| `extClass` | Points to the class that implements `Source`. You can use a relative path starting with a dot (the package name is the base path). This is used to find and instantiate the source(s). |
|
| `extVersionCode` | The extension version code. This must be a positive integer and incremented with any change to the code. |
|
||||||
| `extVersionCode` | The extension version code. This must be a positive integer and incremented with any change to the code. |
|
| `libVersion` | (Optional, defaults to `1.4`) The version of the [extensions library](https://github.com/tachiyomiorg/extensions-lib) used. |
|
||||||
| `libVersion` | (Optional, defaults to `1.4`) The version of the [extensions library](https://github.com/tachiyomiorg/extensions-lib) used. |
|
| `isNsfw` | (Optional, defaults to `false`) Flag to indicate that a source contains NSFW content. |
|
||||||
| `isNsfw` | (Optional, defaults to `false`) Flag to indicate that a source contains NSFW content. |
|
|
||||||
|
|
||||||
The extension's version name is generated automatically by concatenating `libVersion` and `extVersionCode`. With the example used above, the version would be `1.4.1`.
|
The extension's version name is generated automatically by concatenating `libVersion` and `extVersionCode`.
|
||||||
|
With the example used above, the version would be `1.4.1`.
|
||||||
|
|
||||||
### Core dependencies
|
### Core dependencies
|
||||||
|
|
||||||
#### Extension API
|
#### Extension API
|
||||||
|
|
||||||
Extensions rely on [extensions-lib](https://github.com/tachiyomiorg/extensions-lib), which provides some interfaces and stubs from the [app](https://github.com/tachiyomiorg/tachiyomi) for compilation purposes. The actual implementations can be found [here](https://github.com/tachiyomiorg/tachiyomi/tree/master/app/src/main/java/eu/kanade/tachiyomi/source). Referencing the actual implementation will help with understanding extensions' call flow.
|
Extensions rely on [extensions-lib](https://github.com/tachiyomiorg/extensions-lib), which provides
|
||||||
|
some interfaces and stubs from the [app](https://github.com/tachiyomiorg/tachiyomi) for compilation
|
||||||
|
purposes. The actual implementations can be found [here](https://github.com/tachiyomiorg/tachiyomi/tree/master/app/src/main/java/eu/kanade/tachiyomi/source).
|
||||||
|
Referencing the actual implementation will help with understanding extensions' call flow.
|
||||||
|
|
||||||
#### DataImage library
|
#### DataImage library
|
||||||
|
|
||||||
[`lib-dataimage`](https://github.com/tachiyomiorg/tachiyomi-extensions/tree/master/lib/dataimage) is a library for handling [base 64 encoded image data](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) using an [OkHttp interceptor](https://square.github.io/okhttp/interceptors/).
|
[`lib-dataimage`](https://github.com/keiyoushi/extensions-source/tree/main/lib/dataimage) is a library
|
||||||
|
for handling [base 64 encoded image data](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs)
|
||||||
|
using an [OkHttp interceptor](https://square.github.io/okhttp/interceptors/).
|
||||||
|
|
||||||
```gradle
|
```gradle
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -285,7 +280,9 @@ dependencies {
|
||||||
|
|
||||||
#### i18n library
|
#### i18n library
|
||||||
|
|
||||||
[`lib-i18n`](https://github.com/tachiyomiorg/tachiyomi-extensions/tree/master/lib/i18n) is a library for handling internationalization in the sources. It allows loading `.properties` files with messages located under the `assets/i18n` folder of each extension, that can be used to translate strings under the source.
|
[`lib-i18n`](https://github.com/keiyoushi/extensions-source/tree/main/lib/i18n) is a library for handling
|
||||||
|
internationalization in the sources. It allows loading `.properties` files with messages located under
|
||||||
|
the `assets/i18n` folder of each extension, that can be used to translate strings under the source.
|
||||||
|
|
||||||
```gradle
|
```gradle
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -295,36 +292,41 @@ dependencies {
|
||||||
|
|
||||||
#### Additional dependencies
|
#### Additional dependencies
|
||||||
|
|
||||||
If you find yourself needing additional functionality, you can add more dependencies to your `build.gradle` file.
|
If you find yourself needing additional functionality, you can add more dependencies to your `build.gradle`
|
||||||
Many of [the dependencies](https://github.com/tachiyomiorg/tachiyomi/blob/master/app/build.gradle.kts) from the main Tachiyomi app are exposed to extensions by default.
|
file. Many of [the dependencies](https://github.com/tachiyomiorg/tachiyomi/blob/master/app/build.gradle.kts)
|
||||||
|
from the main Tachiyomi app are exposed to extensions by default.
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> Several dependencies are already exposed to all extensions via Gradle's version catalog.
|
> Several dependencies are already exposed to all extensions via Gradle's version catalog.
|
||||||
> To view which are available check the `gradle/libs.versions.toml` file.
|
> To view which are available check the `gradle/libs.versions.toml` file.
|
||||||
|
|
||||||
Notice that we're using `compileOnly` instead of `implementation` if the app already contains it. You could use `implementation` instead for a new dependency, or you prefer not to rely on whatever the main app has at the expense of app size.
|
Notice that we're using `compileOnly` instead of `implementation` if the app already contains it.
|
||||||
|
You could use `implementation` instead for a new dependency, or you prefer not to rely on whatever
|
||||||
|
the main app has at the expense of app size.
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Using `compileOnly` restricts you to versions that must be compatible with those used in [the latest stable version of Tachiyomi](https://github.com/tachiyomiorg/tachiyomi/releases/latest).
|
> Using `compileOnly` restricts you to versions that must be compatible with those used in
|
||||||
|
> [the latest stable version of Tachiyomi](https://github.com/tachiyomiorg/tachiyomi/releases/latest).
|
||||||
|
|
||||||
### Extension main class
|
### Extension main class
|
||||||
|
|
||||||
The class which is referenced and defined by `extClass` in `build.gradle`. This class should implement either `SourceFactory` or extend one of the `Source` implementations: `HttpSource` or `ParsedHttpSource`.
|
The class which is referenced and defined by `extClass` in `build.gradle`. This class should implement
|
||||||
|
either `SourceFactory` or extend one of the `Source` implementations: `HttpSource` or `ParsedHttpSource`.
|
||||||
|
|
||||||
| Class | Description |
|
| Class | Description |
|
||||||
| ----- | ----------- |
|
|--------------------|----------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|`SourceFactory`| Used to expose multiple `Source`s. Use this in case of a source that supports multiple languages or mirrors of the same website. For similar websites use [theme sources](#multi-source-themes). |
|
| `SourceFactory` | Used to expose multiple `Source`s. Use this in case of a source that supports multiple languages or mirrors of the same website. |
|
||||||
| `HttpSource`| For online source, where requests are made using HTTP. |
|
| `HttpSource` | For online source, where requests are made using HTTP. |
|
||||||
| `ParsedHttpSource`| Similar to `HttpSource`, but has methods useful for scraping pages. |
|
| `ParsedHttpSource` | Similar to `HttpSource`, but has methods useful for scraping pages. |
|
||||||
|
|
||||||
#### Main class key variables
|
#### Main class key variables
|
||||||
|
|
||||||
| Field | Description |
|
| Field | Description |
|
||||||
| ----- | ----------- |
|
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `name` | Name displayed in the "Sources" tab in Tachiyomi. |
|
| `name` | Name displayed in the "Sources" tab in Tachiyomi. |
|
||||||
| `baseUrl` | Base URL of the source without any trailing slashes. |
|
| `baseUrl` | Base URL of the source without any trailing slashes. |
|
||||||
| `lang` | An ISO 639-1 compliant language code (two letters in lower case in most cases, but can also include the country/dialect part by using a simple dash character). |
|
| `lang` | An ISO 639-1 compliant language code (two letters in lower case in most cases, but can also include the country/dialect part by using a simple dash character). |
|
||||||
| `id` | Identifier of your source, automatically set in `HttpSource`. It should only be manually overriden if you need to copy an existing autogenerated ID. |
|
| `id` | Identifier of your source, automatically set in `HttpSource`. It should only be manually overriden if you need to copy an existing autogenerated ID. |
|
||||||
|
|
||||||
### Extension call flow
|
### Extension call flow
|
||||||
|
|
||||||
|
@ -332,40 +334,53 @@ The class which is referenced and defined by `extClass` in `build.gradle`. This
|
||||||
|
|
||||||
a.k.a. the Browse source entry point in the app (invoked by tapping on the source name).
|
a.k.a. the Browse source entry point in the app (invoked by tapping on the source name).
|
||||||
|
|
||||||
- The app calls `fetchPopularManga` which should return a `MangasPage` containing the first batch of found `SManga` entries.
|
- The app calls `fetchPopularManga` which should return a `MangasPage` containing the first batch of
|
||||||
- This method supports pagination. When user scrolls the manga list and more results must be fetched, the app calls it again with increasing `page` values (starting with `page=1`). This continues while `MangasPage.hasNextPage` is passed as `true` and `MangasPage.mangas` is not empty.
|
found `SManga` entries.
|
||||||
- To show the list properly, the app needs `url`, `title` and `thumbnail_url`. You **must** set them here. The rest of the fields could be filled later (refer to Manga Details below).
|
- This method supports pagination. When user scrolls the manga list and more results must be fetched,
|
||||||
- You should set `thumbnail_url` if is available, if not, `getMangaDetails` will be **immediately** called (this will increase network calls heavily and should be avoided).
|
the app calls it again with increasing `page` values (starting with `page=1`). This continues while
|
||||||
|
`MangasPage.hasNextPage` is passed as `true` and `MangasPage.mangas` is not empty.
|
||||||
|
- To show the list properly, the app needs `url`, `title` and `thumbnail_url`. You **must** set them
|
||||||
|
here. The rest of the fields could be filled later (refer to Manga Details below).
|
||||||
|
- You should set `thumbnail_url` if is available, if not, `getMangaDetails` will be **immediately**
|
||||||
|
called (this will increase network calls heavily and should be avoided).
|
||||||
|
|
||||||
#### Latest Manga
|
#### Latest Manga
|
||||||
|
|
||||||
a.k.a. the Latest source entry point in the app (invoked by tapping on the "Latest" button beside the source name).
|
a.k.a. the Latest source entry point in the app (invoked by tapping on the "Latest" button beside
|
||||||
|
the source name).
|
||||||
|
|
||||||
- Enabled if `supportsLatest` is `true` for a source
|
- Enabled if `supportsLatest` is `true` for a source
|
||||||
- Similar to popular manga, but should be fetching the latest entries from a source.
|
- Similar to popular manga, but should be fetching the latest entries from a source.
|
||||||
|
|
||||||
#### Manga Search
|
#### Manga Search
|
||||||
|
|
||||||
- When the user searches inside the app, `fetchSearchManga` will be called and the rest of the flow is similar to what happens with `fetchPopularManga`.
|
- When the user searches inside the app, `fetchSearchManga` will be called and the rest of the flow
|
||||||
|
is similar to what happens with `fetchPopularManga`.
|
||||||
- If search functionality is not available, return `Observable.just(MangasPage(emptyList(), false))`
|
- If search functionality is not available, return `Observable.just(MangasPage(emptyList(), false))`
|
||||||
- `getFilterList` will be called to get all filters and filter types.
|
- `getFilterList` will be called to get all filters and filter types.
|
||||||
|
|
||||||
##### Filters
|
##### Filters
|
||||||
|
|
||||||
The search flow have support to filters that can be added to a `FilterList` inside the `getFilterList` method. When the user changes the filters' state, they will be passed to the `searchRequest`, and they can be iterated to create the request (by getting the `filter.state` value, where the type varies depending on the `Filter` used). You can check the filter types available [here](https://github.com/tachiyomiorg/tachiyomi/blob/master/source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/model/Filter.kt) and in the table below.
|
The search flow have support to filters that can be added to a `FilterList` inside the `getFilterList`
|
||||||
|
method. When the user changes the filters' state, they will be passed to the `searchRequest`, and they
|
||||||
|
can be iterated to create the request (by getting the `filter.state` value, where the type varies
|
||||||
|
depending on the `Filter` used). You can check the filter types available [here](https://github.com/tachiyomiorg/tachiyomi/blob/master/source-api/src/commonMain/kotlin/eu/kanade/tachiyomi/source/model/Filter.kt)
|
||||||
|
and in the table below.
|
||||||
|
|
||||||
| Filter | State type | Description |
|
| Filter | State type | Description |
|
||||||
| ------ | ---------- | ----------- |
|
|--------------------|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `Filter.Header` | None | A simple header. Useful for separating sections in the list or showing any note or warning to the user. |
|
| `Filter.Header` | None | A simple header. Useful for separating sections in the list or showing any note or warning to the user. |
|
||||||
| `Filter.Separator` | None | A line separator. Useful for visual distinction between sections. |
|
| `Filter.Separator` | None | A line separator. Useful for visual distinction between sections. |
|
||||||
| `Filter.Select<V>` | `Int` | A select control, similar to HTML's `<select>`. Only one item can be selected, and the state is the index of the selected one. |
|
| `Filter.Select<V>` | `Int` | A select control, similar to HTML's `<select>`. Only one item can be selected, and the state is the index of the selected one. |
|
||||||
| `Filter.Text` | `String` | A text control, similar to HTML's `<input type="text">`. |
|
| `Filter.Text` | `String` | A text control, similar to HTML's `<input type="text">`. |
|
||||||
| `Filter.CheckBox` | `Boolean` | A checkbox control, similar to HTML's `<input type="checkbox">`. The state is `true` if it's checked. |
|
| `Filter.CheckBox` | `Boolean` | A checkbox control, similar to HTML's `<input type="checkbox">`. The state is `true` if it's checked. |
|
||||||
| `Filter.TriState` | `Int` | A enhanced checkbox control that supports an excluding state. The state can be compared with `STATE_IGNORE`, `STATE_INCLUDE` and `STATE_EXCLUDE` constants of the class. |
|
| `Filter.TriState` | `Int` | A enhanced checkbox control that supports an excluding state. The state can be compared with `STATE_IGNORE`, `STATE_INCLUDE` and `STATE_EXCLUDE` constants of the class. |
|
||||||
| `Filter.Group<V>` | `List<V>` | A group of filters (preferentially of the same type). The state will be a `List` with all the states. |
|
| `Filter.Group<V>` | `List<V>` | A group of filters (preferentially of the same type). The state will be a `List` with all the states. |
|
||||||
| `Filter.Sort` | `Selection` | A control for sorting, with support for the ordering. The state indicates which item index is selected and if the sorting is `ascending`. |
|
| `Filter.Sort` | `Selection` | A control for sorting, with support for the ordering. The state indicates which item index is selected and if the sorting is `ascending`. |
|
||||||
|
|
||||||
All control filters can have a default state set. It's usually recommended if the source have filters to make the initial state match the popular manga list, so when the user open the filter sheet, the state is equal and represents the current manga showing.
|
All control filters can have a default state set. It's usually recommended if the source have filters
|
||||||
|
to make the initial state match the popular manga list, so when the user open the filter sheet, the
|
||||||
|
state is equal and represents the current manga showing.
|
||||||
|
|
||||||
The `Filter` classes can also be extended, so you can create new custom filters like the `UriPartFilter`:
|
The `Filter` classes can also be extended, so you can create new custom filters like the `UriPartFilter`:
|
||||||
|
|
||||||
|
@ -378,26 +393,35 @@ open class UriPartFilter(displayName: String, private val vals: Array<Pair<Strin
|
||||||
|
|
||||||
#### Manga Details
|
#### Manga Details
|
||||||
|
|
||||||
- When user taps on a manga, `getMangaDetails` and `getChapterList` will be called and the results will be cached.
|
- When user taps on a manga, `getMangaDetails` and `getChapterList` will be called and the results
|
||||||
|
will be cached.
|
||||||
- A `SManga` entry is identified by it's `url`.
|
- A `SManga` entry is identified by it's `url`.
|
||||||
- `getMangaDetails` is called to update a manga's details from when it was initialized earlier.
|
- `getMangaDetails` is called to update a manga's details from when it was initialized earlier.
|
||||||
- `SManga.initialized` tells the app if it should call `getMangaDetails`. If you are overriding `getMangaDetails`, make sure to pass it as `true`.
|
- `SManga.initialized` tells the app if it should call `getMangaDetails`. If you are overriding
|
||||||
|
`getMangaDetails`, make sure to pass it as `true`.
|
||||||
- `SManga.genre` is a string containing list of all genres separated with `", "`.
|
- `SManga.genre` is a string containing list of all genres separated with `", "`.
|
||||||
- `SManga.status` is an "enum" value. Refer to [the values in the `SManga` companion object](https://github.com/tachiyomiorg/extensions-lib/blob/master/library/src/main/java/eu/kanade/tachiyomi/source/model/SManga.kt#L24).
|
- `SManga.status` is an "enum" value. Refer to [the values in the `SManga` companion object](https://github.com/tachiyomiorg/extensions-lib/blob/master/library/src/main/java/eu/kanade/tachiyomi/source/model/SManga.kt#L26).
|
||||||
- During a backup, only `url` and `title` are stored. To restore the rest of the manga data, the app calls `getMangaDetails`, so all fields should be (re)filled in if possible.
|
- During a backup, only `url` and `title` are stored. To restore the rest of the manga data, the
|
||||||
- If a `SManga` is cached, `getMangaDetails` will be only called when the user does a manual update (Swipe-to-Refresh).
|
app calls `getMangaDetails`, so all fields should be (re)filled in if possible.
|
||||||
|
- If a `SManga` is cached, `getMangaDetails` will be only called when the user does a manual
|
||||||
|
update (Swipe-to-Refresh).
|
||||||
- `getChapterList` is called to display the chapter list.
|
- `getChapterList` is called to display the chapter list.
|
||||||
- **The list should be sorted descending by the source order**.
|
- **The list should be sorted descending by the source order**.
|
||||||
- `getMangaUrl` is called when the user taps "Open in WebView".
|
- `getMangaUrl` is called when the user taps "Open in WebView".
|
||||||
- If the source uses an API to fetch the data, consider overriding this method to return the manga absolute URL in the website instead.
|
- If the source uses an API to fetch the data, consider overriding this method to return the manga
|
||||||
|
absolute URL in the website instead.
|
||||||
- It defaults to the URL provided to the request in `mangaDetailsRequest`.
|
- It defaults to the URL provided to the request in `mangaDetailsRequest`.
|
||||||
|
|
||||||
#### Chapter
|
#### Chapter
|
||||||
|
|
||||||
- After a chapter list for the manga is fetched and the app is going to cache the data, `prepareNewChapter` will be called.
|
- After a chapter list for the manga is fetched and the app is going to cache the data,
|
||||||
- `SChapter.date_upload` is the [UNIX Epoch time](https://en.wikipedia.org/wiki/Unix_time) **expressed in milliseconds**.
|
`prepareNewChapter` will be called.
|
||||||
- If you don't pass `SChapter.date_upload` and leave it zero, the app will use the default date instead, but it's recommended to always fill it if it's available.
|
- `SChapter.date_upload` is the [UNIX Epoch time](https://en.wikipedia.org/wiki/Unix_time)
|
||||||
- To get the time in milliseconds from a date string, you can use a `SimpleDateFormat` like in the example below.
|
**expressed in milliseconds**.
|
||||||
|
- If you don't pass `SChapter.date_upload` and leave it zero, the app will use the default date
|
||||||
|
instead, but it's recommended to always fill it if it's available.
|
||||||
|
- To get the time in milliseconds from a date string, you can use a `SimpleDateFormat` like in
|
||||||
|
the example below.
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
private fun parseDate(dateStr: String): Long {
|
private fun parseDate(dateStr: String): Long {
|
||||||
|
@ -412,22 +436,30 @@ open class UriPartFilter(displayName: String, private val vals: Array<Pair<Strin
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure you make the `SimpleDateFormat` a class constant or variable so it doesn't get recreated for every chapter. If you need to parse or format dates in manga description, create another instance since `SimpleDateFormat` is not thread-safe.
|
Make sure you make the `SimpleDateFormat` a class constant or variable so it doesn't get
|
||||||
- If the parsing have any problem, make sure to return `0L` so the app will use the default date instead.
|
recreated for every chapter. If you need to parse or format dates in manga description, create
|
||||||
|
another instance since `SimpleDateFormat` is not thread-safe.
|
||||||
|
- If the parsing have any problem, make sure to return `0L` so the app will use the default date
|
||||||
|
instead.
|
||||||
- The app will overwrite dates of existing old chapters **UNLESS** `0L` is returned.
|
- The app will overwrite dates of existing old chapters **UNLESS** `0L` is returned.
|
||||||
- The default date has [changed](https://github.com/tachiyomiorg/tachiyomi/pull/7197) in preview ≥ r4442 or stable > 0.13.4.
|
- The default date has [changed](https://github.com/tachiyomiorg/tachiyomi/pull/7197) in
|
||||||
|
preview ≥ r4442 or stable > 0.13.4.
|
||||||
- In older versions, the default date is always the fetch date.
|
- In older versions, the default date is always the fetch date.
|
||||||
- In newer versions, this is the same if every (new) chapter has `0L` returned.
|
- In newer versions, this is the same if every (new) chapter has `0L` returned.
|
||||||
- However, if the source only provides the upload date of the latest chapter, you can now set it to the latest chapter and leave other chapters default. The app will automatically set it (instead of fetch date) to every new chapter and leave old chapters' dates untouched.
|
- However, if the source only provides the upload date of the latest chapter, you can now set
|
||||||
|
it to the latest chapter and leave other chapters default. The app will automatically set it (instead of fetch date) to every new chapter and leave old chapters' dates untouched.
|
||||||
- `getChapterUrl` is called when the user taps "Open in WebView" in the reader.
|
- `getChapterUrl` is called when the user taps "Open in WebView" in the reader.
|
||||||
- If the source uses an API to fetch the data, consider overriding this method to return the chapter absolute URL in the website instead.
|
- If the source uses an API to fetch the data, consider overriding this method to return the
|
||||||
|
chapter absolute URL in the website instead.
|
||||||
- It defaults to the URL provided to the request in `pageListRequest`.
|
- It defaults to the URL provided to the request in `pageListRequest`.
|
||||||
|
|
||||||
#### Chapter Pages
|
#### Chapter Pages
|
||||||
|
|
||||||
- When user opens a chapter, `getPageList` will be called and it will return a list of `Page`s.
|
- When user opens a chapter, `getPageList` will be called and it will return a list of `Page`s.
|
||||||
- While a chapter is open in the reader or is being downloaded, `fetchImageUrl` will be called to get URLs for each page of the manga if the `Page.imageUrl` is empty.
|
- While a chapter is open in the reader or is being downloaded, `fetchImageUrl` will be called to get
|
||||||
- If the source provides all the `Page.imageUrl`'s directly, you can fill them and let the `Page.url` empty, so the app will skip the `fetchImageUrl` source and call directly `fetchImage`.
|
URLs for each page of the manga if the `Page.imageUrl` is empty.
|
||||||
|
- If the source provides all the `Page.imageUrl`'s directly, you can fill them and let the `Page.url`
|
||||||
|
empty, so the app will skip the `fetchImageUrl` source and call directly `fetchImage`.
|
||||||
- The `Page.url` and `Page.imageUrl` attributes **should be set as an absolute URL**.
|
- The `Page.url` and `Page.imageUrl` attributes **should be set as an absolute URL**.
|
||||||
- Chapter pages numbers start from `0`.
|
- Chapter pages numbers start from `0`.
|
||||||
- The list of `Page`s should be returned already sorted, the `index` field is ignored.
|
- The list of `Page`s should be returned already sorted, the `index` field is ignored.
|
||||||
|
@ -449,9 +481,11 @@ them may cause you more headache than necessary.
|
||||||
#### URL intent filter
|
#### URL intent filter
|
||||||
|
|
||||||
Extensions can define URL intent filters by defining it inside a custom `AndroidManifest.xml` file.
|
Extensions can define URL intent filters by defining it inside a custom `AndroidManifest.xml` file.
|
||||||
For an example, refer to [the NHentai module's `AndroidManifest.xml` file](https://github.com/tachiyomiorg/tachiyomi-extensions/blob/master/src/all/nhentai/AndroidManifest.xml) and [its corresponding `NHUrlActivity` handler](https://github.com/tachiyomiorg/tachiyomi-extensions/blob/master/src/all/nhentai/src/eu/kanade/tachiyomi/extension/all/nhentai/NHUrlActivity.kt).
|
(Example TBD.)
|
||||||
|
|
||||||
To test if the URL intent filter is working as expected, you can try opening the website in a browser and navigating to the endpoint that was added as a filter or clicking a hyperlink. Alternatively, you can use the `adb` command below.
|
To test if the URL intent filter is working as expected, you can try opening the website in a browser
|
||||||
|
and navigating to the endpoint that was added as a filter or clicking a hyperlink. Alternatively,
|
||||||
|
you can use the `adb` command below.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ adb shell am start -d "<your-link>" -a android.intent.action.VIEW
|
$ adb shell am start -d "<your-link>" -a android.intent.action.VIEW
|
||||||
|
@ -467,27 +501,40 @@ $ adb shell am start -d "<your-link>" -a android.intent.action.VIEW
|
||||||
|
|
||||||
#### Update strategy
|
#### Update strategy
|
||||||
|
|
||||||
There is some cases where titles in a source will always only have the same chapter list (i.e. immutable), and don't need to be included in a global update of the app because of that, saving a lot of requests and preventing causing unnecessary damage to the source servers. To change the update strategy of a `SManga`, use the `update_strategy` field. You can find below a description of the current possible values.
|
There is some cases where titles in a source will always only have the same chapter list
|
||||||
|
(i.e. immutable), and don't need to be included in a global update of the app because of that, saving
|
||||||
|
a lot of requests and preventing causing unnecessary damage to the source servers. To change the
|
||||||
|
update strategy of a `SManga`, use the `update_strategy` field. You can find below a description of
|
||||||
|
the current possible values.
|
||||||
|
|
||||||
- `UpdateStrategy.ALWAYS_UPDATE`: Titles marked as always update will be included in the library update if they aren't excluded by additional restrictions.
|
- `UpdateStrategy.ALWAYS_UPDATE`: Titles marked as always update will be included in the library
|
||||||
- `UpdateStrategy.ONLY_FETCH_ONCE`: Titles marked as only fetch once will be automatically skipped during library updates. Useful for cases where the series is previously known to be finished and have only a single chapter, for example.
|
update if they aren't excluded by additional restrictions.
|
||||||
|
- `UpdateStrategy.ONLY_FETCH_ONCE`: Titles marked as only fetch once will be automatically skipped
|
||||||
|
during library updates. Useful for cases where the series is previously known to be finished and have
|
||||||
|
only a single chapter, for example.
|
||||||
|
|
||||||
If not set, it defaults to `ALWAYS_UPDATE`.
|
If not set, it defaults to `ALWAYS_UPDATE`.
|
||||||
|
|
||||||
#### Renaming existing sources
|
#### Renaming existing sources
|
||||||
|
|
||||||
There is some cases where existing sources changes their name on the website. To correctly reflect these changes in the extension, you need to explicity set the `id` to the same old value, otherwise it will get changed by the new `name` value and users will be forced to migrate back to the source.
|
There is some cases where existing sources changes their name on the website. To correctly reflect
|
||||||
|
these changes in the extension, you need to explicity set the `id` to the same old value, otherwise
|
||||||
|
it will get changed by the new `name` value and users will be forced to migrate back to the source.
|
||||||
|
|
||||||
To get the current `id` value before the name change, you can search the source name in the [repository JSON file](https://github.com/tachiyomiorg/tachiyomi-extensions/blob/repo/index.json) by looking into the `sources` attribute of the extension. When you have the `id` copied, you can override it in the source:
|
To get the current `id` value before the name change, you can search the source name in the [repository JSON file](https://github.com/keiyoushi/extensions/blob/repo/index.json)
|
||||||
|
by looking into the `sources` attribute of the extension. When you have the `id` copied, you can
|
||||||
|
override it in the source:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
override val id: Long = <the-id>
|
override val id: Long = <the-id>
|
||||||
```
|
```
|
||||||
|
|
||||||
Then the class name and the `name` attribute value can be changed. Also don't forget to update the extension name and class name in the individual Gradle file if it is not a multisrc extension.
|
Then the class name and the `name` attribute value can be changed. Also don't forget to update the
|
||||||
|
extension name and class name in the individual Gradle file.
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> The package name **needs** to be the same (even if it has the old name), otherwise users will not receive the extension update when it gets published in the repository. If you're changing the name of a multisrc source, you can manually set it in the generator class of the theme by using `pkgName = "oldpackagename"`.
|
> The package name **needs** to be the same (even if it has the old name), otherwise users will not
|
||||||
|
> receive the extension update when it gets published in the repository.
|
||||||
|
|
||||||
The `id` also needs to be explicity set to the old value if you're changing the `lang` attribute.
|
The `id` also needs to be explicity set to the old value if you're changing the `lang` attribute.
|
||||||
|
|
||||||
|
@ -497,9 +544,14 @@ The `id` also needs to be explicity set to the old value if you're changing the
|
||||||
> a new `id` will be generated and users will be forced to migrate.
|
> a new `id` will be generated and users will be forced to migrate.
|
||||||
|
|
||||||
## Multi-source themes
|
## Multi-source themes
|
||||||
The `multisrc` module houses source code for generating extensions for cases where multiple source sites use the same site generator tool(usually a CMS) for bootsraping their website and this makes them similar enough to prompt code reuse through inheritance/composition; which from now on we will use the general **theme** term to refer to.
|
The `multisrc` module houses source code for generating extensions for cases where multiple source
|
||||||
|
sites use the same site generator tool (usually a CMS) for bootsraping their website and this makes
|
||||||
|
them similar enough to prompt code reuse through inheritance/composition; which from now on we will
|
||||||
|
use the general **theme** term to refer to.
|
||||||
|
|
||||||
This module contains the *default implementation* for each theme and definitions for each source that builds upon that default implementation and also it's overrides upon that default implementation, all of this becomes a set of source code which then is used to generate individual extensions from.
|
This module contains the *default implementation* for each theme and definitions for each source that
|
||||||
|
builds upon that default implementation and also it's overrides upon that default implementation,
|
||||||
|
all of this becomes a set of source code which then is used to generate individual extensions from.
|
||||||
|
|
||||||
### The directory structure
|
### The directory structure
|
||||||
```console
|
```console
|
||||||
|
@ -554,15 +606,22 @@ multisrc
|
||||||
└── ThemeSourceGenerator.kt
|
└── ThemeSourceGenerator.kt
|
||||||
```
|
```
|
||||||
|
|
||||||
- `multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/<themepkg>/<Theme>.kt` defines the the theme's default implementation.
|
- `multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/<themepkg>/<Theme>.kt` defines the the theme's
|
||||||
- `multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/<theme>/<Theme>Generator.kt` defines the the theme's generator class, this is similar to a `SourceFactory` class.
|
default implementation.
|
||||||
- `multisrc/overrides/<themepkg>/default/res` is the theme's default icons, if a source doesn't have overrides for `res`, then default icons will be used.
|
- `multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/<theme>/<Theme>Generator.kt` defines the the
|
||||||
- `multisrc/overrides/<themepkg>/default/additional.gradle` defines additional gradle code, this will be copied at the end of all generated sources from this theme.
|
theme's generator class, this is similar to a `SourceFactory` class.
|
||||||
- `multisrc/overrides/<themepkg>/<sourcepkg>` contains overrides for a source that is defined inside the `<Theme>Generator.kt` class.
|
- `multisrc/overrides/<themepkg>/default/res` is the theme's default icons, if a source doesn't have
|
||||||
|
overrides for `res`, then default icons will be used.
|
||||||
|
- `multisrc/overrides/<themepkg>/default/additional.gradle` defines additional gradle code, this will
|
||||||
|
be copied at the end of all generated sources from this theme.
|
||||||
|
- `multisrc/overrides/<themepkg>/<sourcepkg>` contains overrides for a source that is defined inside
|
||||||
|
the `<Theme>Generator.kt` class.
|
||||||
- `multisrc/overrides/<themepkg>/<sourcepkg>/src` contains source overrides.
|
- `multisrc/overrides/<themepkg>/<sourcepkg>/src` contains source overrides.
|
||||||
- `multisrc/overrides/<themepkg>/<sourcepkg>/res` contains override for icons.
|
- `multisrc/overrides/<themepkg>/<sourcepkg>/res` contains override for icons.
|
||||||
- `multisrc/overrides/<themepkg>/<sourcepkg>/additional.gradle` defines additional gradle code, this will be copied at the end of the generated gradle file below the theme's `additional.gradle`.
|
- `multisrc/overrides/<themepkg>/<sourcepkg>/additional.gradle` defines additional gradle code, this
|
||||||
- `multisrc/overrides/<themepkg>/<sourcepkg>/AndroidManifest.xml` is copied as an override to the default `AndroidManifest.xml` generation if it exists.
|
will be copied at the end of the generated gradle file below the theme's `additional.gradle`.
|
||||||
|
- `multisrc/overrides/<themepkg>/<sourcepkg>/AndroidManifest.xml` is copied as an override to the
|
||||||
|
default `AndroidManifest.xml` generation if it exists.
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> Files ending with `Gen.kt` (i.e. `multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/<theme>/XxxGen.kt`)
|
> Files ending with `Gen.kt` (i.e. `multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/<theme>/XxxGen.kt`)
|
||||||
|
@ -573,19 +632,27 @@ There are three steps in running and testing a theme source:
|
||||||
|
|
||||||
1. Generate the sources
|
1. Generate the sources
|
||||||
- **Option 1: Only generate sources from one theme**
|
- **Option 1: Only generate sources from one theme**
|
||||||
- **Method 1:** Find and run `<ThemeName>Generator` run configuration form the `Run/Debug Configuration` menu.
|
- **Method 1:** Find and run `<ThemeName>Generator` run configuration from the
|
||||||
- **Method 2:** Directly run `<themepkg>.<ThemeName>Generator.main` by pressing the play button in front of the method shown inside Android Studio's Code Editor to generate sources from the said theme.
|
`Run/Debug Configuration` menu.
|
||||||
|
- **Method 2:** Directly run `<themepkg>.<ThemeName>Generator.main` by pressing the play
|
||||||
|
button in front of the method shown inside Android Studio's Code Editor to generate sources
|
||||||
|
from the said theme.
|
||||||
- **Option 2: Generate sources from all themes**
|
- **Option 2: Generate sources from all themes**
|
||||||
- **Method 1:** Run `./gradlew multisrc:generateExtensions` from a terminal window to generate all sources.
|
- **Method 1:** Run `./gradlew multisrc:generateExtensions` from a terminal window to
|
||||||
- **Method 2:** Directly run `Generator.GeneratorMain.main` by pressing the play button in front of the method shown inside Android Studio's Code Editor to generate all sources.
|
generate all sources.
|
||||||
|
- **Method 2:** Directly run `Generator.GeneratorMain.main` by pressing the play button
|
||||||
|
in front of the method shown inside Android Studio's Code Editor to generate all sources.
|
||||||
2. Sync gradle to import the new generated sources inside `generated-src`
|
2. Sync gradle to import the new generated sources inside `generated-src`
|
||||||
- **Method 1:** Android Studio might prompt to sync the gradle. Click on `Sync Now`.
|
- **Method 1:** Android Studio might prompt to sync the gradle. Click on `Sync Now`.
|
||||||
- **Method 2:** Manually re-sync by opening `File` -> `Sync Project with Gradle Files` or by pressing `Alt+f` then `g`.
|
- **Method 2:** Manually re-sync by opening `File` -> `Sync Project with Gradle Files` or by
|
||||||
|
pressing `Alt+f` then `g`.
|
||||||
3. Build and test the generated Extention like normal `src` sources.
|
3. Build and test the generated Extention like normal `src` sources.
|
||||||
- It's recommended to make changes here to skip going through step 1 and 2 multiple times, and when you are done, copying the changes back to `multisrc`.
|
- It's recommended to make changes here to skip going through step 1 and 2 multiple times, and
|
||||||
|
when you are done, copying the changes back to `multisrc`.
|
||||||
|
|
||||||
### Scaffolding overrides
|
### Scaffolding overrides
|
||||||
You can use this python script to generate scaffolds for source overrides. Put it inside `multisrc/overrides/<themepkg>/` as `scaffold.py`.
|
You can use this python script to generate scaffolds for source overrides.
|
||||||
|
Put it inside `multisrc/overrides/<themepkg>/` as `scaffold.py`.
|
||||||
```python
|
```python
|
||||||
import os, sys
|
import os, sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
@ -612,19 +679,26 @@ with open(f"{package}/src/{source}.kt", "w") as f:
|
||||||
```
|
```
|
||||||
|
|
||||||
### Additional Notes
|
### Additional Notes
|
||||||
- Generated sources extension version code is calculated as `baseVersionCode + overrideVersionCode + multisrcLibraryVersion`.
|
- Generated sources extension version code is calculated as
|
||||||
|
`baseVersionCode + overrideVersionCode + multisrcLibraryVersion`.
|
||||||
- Currently `multisrcLibraryVersion` is `0`
|
- Currently `multisrcLibraryVersion` is `0`
|
||||||
- When a new source is added, it doesn't need to set `overrideVersionCode` as it's default is `0`.
|
- When a new source is added, it doesn't need to set `overrideVersionCode` as it's default is `0`.
|
||||||
- For each time a source changes in a way that should the version increase, `overrideVersionCode` should be increased by one.
|
- For each time a source changes in a way that should the version increase, `overrideVersionCode`
|
||||||
- When a theme's default implementation changes, `baseVersionCode` should be increased, the initial value should be `1`.
|
should be increased by one.
|
||||||
|
- When a theme's default implementation changes, `baseVersionCode` should be increased, the
|
||||||
|
initial value should be `1`.
|
||||||
- For example, for a new theme with a new source, extention version code will be `0 + 0 + 1 = 1`.
|
- For example, for a new theme with a new source, extention version code will be `0 + 0 + 1 = 1`.
|
||||||
- `IntelijConfigurationGeneratorMainKt` should be run on creating or removing a multisrc theme.
|
- `IntelijConfigurationGeneratorMainKt` should be run on creating or removing a multisrc theme.
|
||||||
- On removing a theme, you can manually remove the corresponding configuration in the `.run` folder instead.
|
- On removing a theme, you can manually remove the corresponding configuration in the `.run`
|
||||||
- Be careful if you're using sparse checkout. If other configurations are accidentally removed, `git add` the file you want and `git restore` the others. Another choice is to allow `/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/*` before running the generator.
|
folder instead.
|
||||||
|
- Be careful if you're using sparse checkout. If other configurations are accidentally removed,
|
||||||
|
`git add` the file you want and `git restore` the others. Another choice is to allow
|
||||||
|
`/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/*` before running the generator.
|
||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
||||||
To make local development more convenient, you can use the following run configuration to launch Tachiyomi directly at the Browse panel:
|
To make local development more convenient, you can use the following run configuration to launch
|
||||||
|
Tachiyomi directly at the Browse panel:
|
||||||
|
|
||||||
![](https://i.imgur.com/STy0UFY.png)
|
![](https://i.imgur.com/STy0UFY.png)
|
||||||
|
|
||||||
|
@ -649,9 +723,11 @@ And for a release build of Tachiyomi:
|
||||||
|
|
||||||
You can leverage the Android Debugger to step through your extension while debugging.
|
You can leverage the Android Debugger to step through your extension while debugging.
|
||||||
|
|
||||||
You *cannot* simply use Android Studio's `Debug 'module.name'` -> this will most likely result in an error while launching.
|
You *cannot* simply use Android Studio's `Debug 'module.name'` -> this will most likely result in an
|
||||||
|
error while launching.
|
||||||
|
|
||||||
Instead, once you've built and installed your extension on the target device, use `Attach Debugger to Android Process` to start debugging Tachiyomi.
|
Instead, once you've built and installed your extension on the target device, use
|
||||||
|
`Attach Debugger to Android Process` to start debugging Tachiyomi.
|
||||||
|
|
||||||
![](https://i.imgur.com/muhXyfu.png)
|
![](https://i.imgur.com/muhXyfu.png)
|
||||||
|
|
||||||
|
@ -663,22 +739,31 @@ show up in the [`Logcat`](https://developer.android.com/studio/debug/am-logcat)
|
||||||
|
|
||||||
### Inspecting network calls
|
### Inspecting network calls
|
||||||
|
|
||||||
One of the easiest way to inspect network issues (such as HTTP errors 404, 429, no chapter found etc.) is to use the [`Logcat`](https://developer.android.com/studio/debug/am-logcat) panel of Android Studio and filtering by the `OkHttpClient` tag.
|
One of the easiest way to inspect network issues (such as HTTP errors 404, 429, no chapter found etc.)
|
||||||
|
is to use the [`Logcat`](https://developer.android.com/studio/debug/am-logcat) panel of Android Studio
|
||||||
|
and filtering by the `OkHttpClient` tag.
|
||||||
|
|
||||||
To be able to check the calls done by OkHttp, you need to enable verbose logging in the app, that is not enabled by default and is only included in the Preview versions of Tachiyomi. To enable it, go to More -> Settings -> Advanced -> Verbose logging. After enabling it, don't forget to restart the app.
|
To be able to check the calls done by OkHttp, you need to enable verbose logging in the app, that is
|
||||||
|
not enabled by default and is only included in the Preview versions of Tachiyomi. To enable it, go to
|
||||||
|
More -> Settings -> Advanced -> Verbose logging. After enabling it, don't forget to restart the app.
|
||||||
|
|
||||||
Inspecting the Logcat allows you to get a good look at the call flow and it's more than enough in most cases where issues occurs. However, alternatively, you can also use an external tool like `mitm-proxy`. For that, refer to the subsequent sections.
|
Inspecting the Logcat allows you to get a good look at the call flow and it's more than enough in most
|
||||||
|
cases where issues occurs. However, alternatively, you can also use an external tool like `mitm-proxy`.
|
||||||
|
For that, refer to the subsequent sections.
|
||||||
|
|
||||||
On newer Android Studio versions, you can use its built-in Network Inspector inside the
|
On newer Android Studio versions, you can use its built-in Network Inspector inside the
|
||||||
App Inspection tool window. This feature provides a nice GUI to inspect the requests made in the app.
|
App Inspection tool window. This feature provides a nice GUI to inspect the requests made in the app.
|
||||||
|
|
||||||
To use it, follow the [official documentation](https://developer.android.com/studio/debug/network-profiler) and select Tachiyomi package name in the process list.
|
To use it, follow the [official documentation](https://developer.android.com/studio/debug/network-profiler)
|
||||||
|
and select Tachiyomi package name in the process list.
|
||||||
|
|
||||||
### Using external network inspecting tools
|
### Using external network inspecting tools
|
||||||
If you want to take a deeper look into the network flow, such as taking a look into the request and response bodies, you can use an external tool like `mitm-proxy`.
|
If you want to take a deeper look into the network flow, such as taking a look into the request and
|
||||||
|
response bodies, you can use an external tool like `mitm-proxy`.
|
||||||
|
|
||||||
#### Setup your proxy server
|
#### Setup your proxy server
|
||||||
We are going to use [mitm-proxy](https://mitmproxy.org/) but you can replace it with any other Web Debugger (i.e. Charles, Burp Suite, Fiddler etc). To install and execute, follow the commands bellow.
|
We are going to use [mitm-proxy](https://mitmproxy.org/) but you can replace it with any other Web
|
||||||
|
Debugger (i.e. Charles, Burp Suite, Fiddler etc). To install and execute, follow the commands below.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
Install the tool.
|
Install the tool.
|
||||||
|
@ -699,14 +784,14 @@ $ docker run --rm -it -p 8080:8080 \
|
||||||
After installing and running, open your browser and navigate to http://127.0.0.1:8081.
|
After installing and running, open your browser and navigate to http://127.0.0.1:8081.
|
||||||
|
|
||||||
#### OkHttp proxy setup
|
#### OkHttp proxy setup
|
||||||
Since most of the manga sources are going to use HTTPS, we need to disable SSL verification in order to use the web debugger. For that, add this code to inside your source class:
|
Since most of the manga sources are going to use HTTPS, we need to disable SSL verification in order
|
||||||
|
to use the web debugger. For that, add this code to inside your source class:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
package eu.kanade.tachiyomi.extension.en.mangasource
|
package eu.kanade.tachiyomi.extension.en.mysource
|
||||||
import eu.kanade.tachiyomi.multisrc.mangatheme.mangasource
|
|
||||||
|
|
||||||
import android.annotation.SuppressLint
|
import android.annotation.SuppressLint
|
||||||
|
import eu.kanade.tachiyomi.source.online.HttpSource
|
||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
import java.net.InetSocketAddress
|
import java.net.InetSocketAddress
|
||||||
import java.net.Proxy
|
import java.net.Proxy
|
||||||
|
@ -716,11 +801,7 @@ import javax.net.ssl.SSLContext
|
||||||
import javax.net.ssl.TrustManager
|
import javax.net.ssl.TrustManager
|
||||||
import javax.net.ssl.X509TrustManager
|
import javax.net.ssl.X509TrustManager
|
||||||
|
|
||||||
class MangaSource : MangaTheme(
|
class MySource : HttpSource() {
|
||||||
"MangaSource",
|
|
||||||
"https://example.com",
|
|
||||||
"en"
|
|
||||||
) {
|
|
||||||
private fun OkHttpClient.Builder.ignoreAllSSLErrors(): OkHttpClient.Builder {
|
private fun OkHttpClient.Builder.ignoreAllSSLErrors(): OkHttpClient.Builder {
|
||||||
val naiveTrustManager = @SuppressLint("CustomX509TrustManager")
|
val naiveTrustManager = @SuppressLint("CustomX509TrustManager")
|
||||||
object : X509TrustManager {
|
object : X509TrustManager {
|
||||||
|
@ -746,26 +827,38 @@ class MangaSource : MangaTheme(
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: `10.0.2.2` is usually the address of your loopback interface in the android emulator. If Tachiyomi tells you that it's unable to connect to 10.0.2.2:8080 you will likely need to change it (the same if you are using hardware device).
|
Note: `10.0.2.2` is usually the address of your loopback interface in the android emulator. If
|
||||||
|
Tachiyomi tells you that it's unable to connect to 10.0.2.2:8080 you will likely need to change it
|
||||||
|
(the same if you are using hardware device).
|
||||||
|
|
||||||
If all went well, you should see all requests and responses made by the source in the web interface of `mitmweb`.
|
If all went well, you should see all requests and responses made by the source in the web interface
|
||||||
|
of `mitmweb`.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
APKs can be created in Android Studio via `Build > Build Bundle(s) / APK(s) > Build APK(s)` or `Build > Generate Signed Bundle / APK`.
|
APKs can be created in Android Studio via `Build > Build Bundle(s) / APK(s) > Build APK(s)` or
|
||||||
|
`Build > Generate Signed Bundle / APK`.
|
||||||
|
|
||||||
## Submitting the changes
|
## Submitting the changes
|
||||||
|
|
||||||
When you feel confident about your changes, submit a new Pull Request so your code can be reviewed and merged if it's approved. We encourage following a [GitHub Standard Fork & Pull Request Workflow](https://gist.github.com/Chaser324/ce0505fbed06b947d962) and following the good practices of the workflow, such as not commiting directly to `master`: always create a new branch for your changes.
|
When you feel confident about your changes, submit a new Pull Request so your code can be reviewed
|
||||||
|
and merged if it's approved. We encourage following a [GitHub Standard Fork & Pull Request Workflow](https://gist.github.com/Chaser324/ce0505fbed06b947d962)
|
||||||
|
and following the good practices of the workflow, such as not commiting directly to `main`: always
|
||||||
|
create a new branch for your changes.
|
||||||
|
|
||||||
If you are more comfortable about using Git GUI-based tools, you can refer to [this guide](https://learntodroid.com/how-to-use-git-and-github-in-android-studio/) about the Git integration inside Android Studio, specifically the "How to Contribute to an to Existing Git Repository in Android Studio" section of the guide.
|
If you are more comfortable about using Git GUI-based tools, you can refer to [this guide](https://learntodroid.com/how-to-use-git-and-github-in-android-studio/)
|
||||||
|
about the Git integration inside Android Studio, specifically the "How to Contribute to an to Existing
|
||||||
|
Git Repository in Android Studio" section of the guide.
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Make sure you have generated the extension icon using the linked Icon Generator tool in the [Tools](#tools)
|
> Make sure you have generated the extension icon using the linked Icon Generator tool in the [Tools](#tools)
|
||||||
> section. The icon **must follow the pattern** adopted by all other extensions: a square with rounded
|
> section. The icon **must follow the pattern** adopted by all other extensions: a square with rounded
|
||||||
> corners. Make sure to remove the generated `web_hi_res_512.png`.
|
> corners. Make sure to remove the generated `web_hi_res_512.png`.
|
||||||
|
|
||||||
Please **do test your changes by compiling it through Android Studio** before submitting it. Obvious untested PRs will not be merged, such as ones created with the GitHub web interface. Also make sure to follow the PR checklist available in the PR body field when creating a new PR. As a reference, you can find it below.
|
Please **do test your changes by compiling it through Android Studio** before submitting it. Obvious
|
||||||
|
untested PRs will not be merged, such as ones created with the GitHub web interface. Also make sure
|
||||||
|
to follow the PR checklist available in the PR body field when creating a new PR. As a reference, you
|
||||||
|
can find it below.
|
||||||
|
|
||||||
### Pull Request checklist
|
### Pull Request checklist
|
||||||
|
|
||||||
|
|
32
README.md
|
@ -1,37 +1,18 @@
|
||||||
|
### Please give the repo a :star:
|
||||||
|
|
||||||
| Build | Support Server |
|
| Build | Support Server |
|
||||||
|-------|---------|
|
|-------|---------|
|
||||||
| [![CI](https://github.com/tachiyomiorg/tachiyomi-extensions/workflows/CI/badge.svg?event=push)](https://github.com/tachiyomiorg/tachiyomi-extensions/actions/workflows/build_push.yml) | [![Discord](https://img.shields.io/discord/349436576037732353.svg?label=discord&labelColor=7289da&color=2c2f33&style=flat)](https://discord.gg/tachiyomi) |
|
| [![CI](https://github.com/keiyoushi/extensions-source/actions/workflows/build_push.yml/badge.svg)](https://github.com/keiyoushi/extensions-source/actions/workflows/build_push.yml) | [![Discord](https://img.shields.io/discord/1193460528052453448.svg?label=discord&labelColor=7289da&color=2c2f33&style=flat)](https://discord.gg/3FbCpdKbdY) |
|
||||||
|
|
||||||
# ![app icon](./.github/readme-images/app-icon.png)Tachiyomi Extensions
|
|
||||||
Tachiyomi is a free and open source manga reader for Android 6.0 and above.
|
|
||||||
|
|
||||||
This repository contains the available extension catalogues for the [Tachiyomi](https://github.com/tachiyomiorg/tachiyomi) app.
|
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
Extension sources can be downloaded, installed, and uninstalled via the main Tachiyomi app. They are installed and uninstalled like regular apps, in `.apk` format.
|
https://github.com/keiyoushi/extensions/blob/main/README.md
|
||||||
|
|
||||||
## Downloads
|
|
||||||
|
|
||||||
If you prefer to directly download the APK files, they are available via https://tachiyomi.org/extensions/ or directly in this GitHub repository in the [`repo` branch](https://github.com/tachiyomiorg/tachiyomi-extensions/tree/repo/apk).
|
|
||||||
|
|
||||||
# Requests
|
|
||||||
|
|
||||||
To request a new source or bug fix, [create an issue](https://github.com/tachiyomiorg/tachiyomi-extensions/issues/new/choose).
|
|
||||||
|
|
||||||
Note that requesting something does not imply that something will be added or fixed in a timely fashion or at all since the work is volunteer-based. Furthermore, some sources may be impossible to do or prohibitively difficult to maintain.
|
|
||||||
|
|
||||||
If you would like to see a request fulfilled and have the necessary skills to do so, consider contributing! Issues are up-for-grabs for any developer if there is no assigned user already.
|
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
Contributions are welcome!
|
Contributions are welcome!
|
||||||
|
|
||||||
Check out the repo's [issue backlog](https://github.com/tachiyomiorg/tachiyomi-extensions/issues) for source requests and bug reports.
|
Check out the repo's [issue backlog](https://github.com/keiyoushi/extensions-source/issues) for source requests and bug reports.
|
||||||
|
|
||||||
To get started with development, see [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
||||||
|
|
||||||
It might also be good to read our [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md).
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
@ -51,4 +32,5 @@ It might also be good to read our [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md).
|
||||||
|
|
||||||
## Disclaimer
|
## Disclaimer
|
||||||
|
|
||||||
The developer of this application does not have any affiliation with the content providers available.
|
This project is not affiliated with Tachiyomi. Don't ask for help about these extensions at the official support means of Tachiyomi. All credits to the codebase goes to the original contributors.
|
||||||
|
|
||||||
|
|
|
@ -1,78 +0,0 @@
|
||||||
**There is no timetable on when or if a source request may be filled (also applies to bug reports and enhancement requests).**
|
|
||||||
|
|
||||||
### In General the following sources that won't be added as an extension
|
|
||||||
- In general heavily paywalled sites
|
|
||||||
- Sources that require cracking some app's source code (realistically, no one's going to put in the effort to do it)
|
|
||||||
- Sources that are known for filling a lot of DMCA complaints over repositories on GitHub
|
|
||||||
|
|
||||||
Here is a list of known sources that were removed.
|
|
||||||
## Removed sources
|
|
||||||
|
|
||||||
### Too difficult to maintain
|
|
||||||
|
|
||||||
- Anchira https://github.com/tachiyomiorg/tachiyomi-extensions/pull/19149
|
|
||||||
- Bakai https://github.com/tachiyomiorg/tachiyomi-extensions/pull/17890
|
|
||||||
- Blackout Comics and Izakaya https://github.com/tachiyomiorg/tachiyomi-extensions/pull/18500
|
|
||||||
- ColaManhua (COLA漫画) https://github.com/tachiyomiorg/tachiyomi-extensions/pull/11445
|
|
||||||
- Comikey https://github.com/tachiyomiorg/tachiyomi-extensions/pull/11971
|
|
||||||
- Constellar Scans https://github.com/tachiyomiorg/tachiyomi-extensions/pull/17277
|
|
||||||
- CopyManga (拷贝漫画) https://github.com/tachiyomiorg/tachiyomi-extensions/pull/12376
|
|
||||||
- Cứu Truyện https://github.com/tachiyomiorg/tachiyomi-extensions/pull/16654
|
|
||||||
- Hentai Kai https://github.com/tachiyomiorg/tachiyomi-extensions/issues/9999
|
|
||||||
- Hitomi.la https://github.com/tachiyomiorg/tachiyomi-extensions/pull/11613
|
|
||||||
- HQ Dragon https://github.com/tachiyomiorg/tachiyomi-extensions/pull/7065
|
|
||||||
- Japscan https://github.com/tachiyomiorg/tachiyomi-extensions/pull/17892
|
|
||||||
- Koushoku https://github.com/tachiyomiorg/tachiyomi-extensions/pull/13329
|
|
||||||
- LeerCapitulo https://github.com/tachiyomiorg/tachiyomi-extensions/pull/16255
|
|
||||||
- Mangá Host https://github.com/tachiyomiorg/tachiyomi-extensions/pull/7065
|
|
||||||
- Mangá Livre and Leitor.net https://github.com/tachiyomiorg/tachiyomi-extensions/pull/8679
|
|
||||||
- MangaDig https://github.com/tachiyomiorg/tachiyomi-extensions/pull/14974
|
|
||||||
- Mangas.pw (Mangas.in) https://github.com/tachiyomiorg/tachiyomi-extensions/pull/9489
|
|
||||||
- MangaYabu! https://github.com/tachiyomiorg/tachiyomi-extensions/pull/9336
|
|
||||||
- ManhuaScan https://github.com/tachiyomiorg/tachiyomi-extensions/pull/7129
|
|
||||||
- ManhwaHot https://github.com/tachiyomiorg/tachiyomi-extensions/pull/7129
|
|
||||||
- Mode Scanlator https://github.com/tachiyomiorg/tachiyomi-extensions/pull/17865
|
|
||||||
- Neox/Nexo Scanlator https://github.com/tachiyomiorg/tachiyomi-extensions/pull/12695
|
|
||||||
- Reaper Scans (EN) https://github.com/tachiyomiorg/tachiyomi-extensions/pull/16819
|
|
||||||
- SuperMangás and SuperHentais https://github.com/tachiyomiorg/tachiyomi-extensions/pull/6348
|
|
||||||
- TopToon+/Day Comics https://github.com/tachiyomiorg/tachiyomi-extensions/pull/10851
|
|
||||||
- Tsuki Mangás https://github.com/tachiyomiorg/tachiyomi-extensions/pull/8609
|
|
||||||
- Union Mangás https://github.com/tachiyomiorg/tachiyomi-extensions/pull/7065
|
|
||||||
- YES Mangás https://github.com/tachiyomiorg/tachiyomi-extensions/pull/7065
|
|
||||||
|
|
||||||
### Requested removal by the scanlator team
|
|
||||||
|
|
||||||
- ARES Manga https://github.com/tachiyomiorg/tachiyomi-extensions/issues/15396
|
|
||||||
- Astra Scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/13845
|
|
||||||
- Dat-Gar Scan https://github.com/tachiyomiorg/tachiyomi-extensions/issues/18441
|
|
||||||
- Gourmet Scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/6192
|
|
||||||
- Hikari Scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/6611
|
|
||||||
- Hunter Scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/12392
|
|
||||||
- JuinJutsuReader https://github.com/tachiyomiorg/tachiyomi-extensions/issues/2958
|
|
||||||
- Knightnoscanlation https://github.com/tachiyomiorg/tachiyomi-extensions/issues/4240
|
|
||||||
- KomikTap/KomikTap.in https://github.com/tachiyomiorg/tachiyomi-extensions/issues/6133
|
|
||||||
- Luminous Scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/9923
|
|
||||||
- MangaPro https://github.com/tachiyomiorg/tachiyomi-extensions/issues/13989
|
|
||||||
- MangaSY https://github.com/tachiyomiorg/tachiyomi-extensions/issues/12007
|
|
||||||
- Mangawow https://github.com/tachiyomiorg/tachiyomi-extensions/issues/5367
|
|
||||||
- MHScans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/15319
|
|
||||||
- Mono Manga https://github.com/tachiyomiorg/tachiyomi-extensions/issues/17634
|
|
||||||
- Moon Daisy Scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/17929
|
|
||||||
- NarTag https://github.com/tachiyomiorg/tachiyomi-extensions/issues/8038
|
|
||||||
- Plot-twistnf-scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/4242
|
|
||||||
- Realm Scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/15586
|
|
||||||
- Remangas https://github.com/tachiyomiorg/tachiyomi-extensions/issues/18807
|
|
||||||
- Reset Scans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/13168
|
|
||||||
- SetsuScans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/11040
|
|
||||||
- ShinobiScans https://github.com/tachiyomiorg/tachiyomi-extensions/issues/14457
|
|
||||||
- XXX Yaoi https://github.com/tachiyomiorg/tachiyomi-extensions/issues/9535
|
|
||||||
|
|
||||||
### Requested removal by copyright holders
|
|
||||||
|
|
||||||
By request of [Kakao Entertainment](https://www.kakaoent.com/):
|
|
||||||
|
|
||||||
- 1st Kiss-Manga
|
|
||||||
- Bato.to
|
|
||||||
- Mangadex
|
|
||||||
- NewToki / ManaToki
|
|
||||||
- S2Manga
|
|
|
@ -25,11 +25,11 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion AndroidConfig.minSdk
|
minSdkVersion AndroidConfig.minSdk
|
||||||
targetSdkVersion AndroidConfig.targetSdk
|
targetSdkVersion AndroidConfig.targetSdk
|
||||||
applicationIdSuffix pkgNameSuffix
|
applicationIdSuffix project.parent.name + "." + project.name
|
||||||
versionCode extVersionCode
|
versionCode extVersionCode
|
||||||
versionName project.ext.properties.getOrDefault("libVersion", "1.4") + ".$extVersionCode"
|
versionName project.ext.properties.getOrDefault("libVersion", "1.4") + ".$extVersionCode"
|
||||||
base {
|
base {
|
||||||
archivesName = "tachiyomi-$pkgNameSuffix-v$versionName"
|
archivesName = "tachiyomi-$applicationIdSuffix-v$versionName"
|
||||||
}
|
}
|
||||||
def readmes = project.projectDir.listFiles({ File file ->
|
def readmes = project.projectDir.listFiles({ File file ->
|
||||||
file.name == "README.md" || file.name == "CHANGELOG.md"
|
file.name == "README.md" || file.name == "CHANGELOG.md"
|
||||||
|
|
|
@ -1,92 +1,92 @@
|
||||||
@rem
|
@rem
|
||||||
@rem Copyright 2015 the original author or authors.
|
@rem Copyright 2015 the original author or authors.
|
||||||
@rem
|
@rem
|
||||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@rem you may not use this file except in compliance with the License.
|
@rem you may not use this file except in compliance with the License.
|
||||||
@rem You may obtain a copy of the License at
|
@rem You may obtain a copy of the License at
|
||||||
@rem
|
@rem
|
||||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||||
@rem
|
@rem
|
||||||
@rem Unless required by applicable law or agreed to in writing, software
|
@rem Unless required by applicable law or agreed to in writing, software
|
||||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
@rem See the License for the specific language governing permissions and
|
@rem See the License for the specific language governing permissions and
|
||||||
@rem limitations under the License.
|
@rem limitations under the License.
|
||||||
@rem
|
@rem
|
||||||
|
|
||||||
@if "%DEBUG%"=="" @echo off
|
@if "%DEBUG%"=="" @echo off
|
||||||
@rem ##########################################################################
|
@rem ##########################################################################
|
||||||
@rem
|
@rem
|
||||||
@rem Gradle startup script for Windows
|
@rem Gradle startup script for Windows
|
||||||
@rem
|
@rem
|
||||||
@rem ##########################################################################
|
@rem ##########################################################################
|
||||||
|
|
||||||
@rem Set local scope for the variables with windows NT shell
|
@rem Set local scope for the variables with windows NT shell
|
||||||
if "%OS%"=="Windows_NT" setlocal
|
if "%OS%"=="Windows_NT" setlocal
|
||||||
|
|
||||||
set DIRNAME=%~dp0
|
set DIRNAME=%~dp0
|
||||||
if "%DIRNAME%"=="" set DIRNAME=.
|
if "%DIRNAME%"=="" set DIRNAME=.
|
||||||
@rem This is normally unused
|
@rem This is normally unused
|
||||||
set APP_BASE_NAME=%~n0
|
set APP_BASE_NAME=%~n0
|
||||||
set APP_HOME=%DIRNAME%
|
set APP_HOME=%DIRNAME%
|
||||||
|
|
||||||
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||||
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||||
|
|
||||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||||
|
|
||||||
@rem Find java.exe
|
@rem Find java.exe
|
||||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||||
|
|
||||||
set JAVA_EXE=java.exe
|
set JAVA_EXE=java.exe
|
||||||
%JAVA_EXE% -version >NUL 2>&1
|
%JAVA_EXE% -version >NUL 2>&1
|
||||||
if %ERRORLEVEL% equ 0 goto execute
|
if %ERRORLEVEL% equ 0 goto execute
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
echo.
|
echo.
|
||||||
echo Please set the JAVA_HOME variable in your environment to match the
|
echo Please set the JAVA_HOME variable in your environment to match the
|
||||||
echo location of your Java installation.
|
echo location of your Java installation.
|
||||||
|
|
||||||
goto fail
|
goto fail
|
||||||
|
|
||||||
:findJavaFromJavaHome
|
:findJavaFromJavaHome
|
||||||
set JAVA_HOME=%JAVA_HOME:"=%
|
set JAVA_HOME=%JAVA_HOME:"=%
|
||||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||||
|
|
||||||
if exist "%JAVA_EXE%" goto execute
|
if exist "%JAVA_EXE%" goto execute
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||||
echo.
|
echo.
|
||||||
echo Please set the JAVA_HOME variable in your environment to match the
|
echo Please set the JAVA_HOME variable in your environment to match the
|
||||||
echo location of your Java installation.
|
echo location of your Java installation.
|
||||||
|
|
||||||
goto fail
|
goto fail
|
||||||
|
|
||||||
:execute
|
:execute
|
||||||
@rem Setup the command line
|
@rem Setup the command line
|
||||||
|
|
||||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||||
|
|
||||||
|
|
||||||
@rem Execute Gradle
|
@rem Execute Gradle
|
||||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
||||||
|
|
||||||
:end
|
:end
|
||||||
@rem End local scope for the variables with windows NT shell
|
@rem End local scope for the variables with windows NT shell
|
||||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||||
|
|
||||||
:fail
|
:fail
|
||||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||||
rem the _cmd.exe /c_ return code!
|
rem the _cmd.exe /c_ return code!
|
||||||
set EXIT_CODE=%ERRORLEVEL%
|
set EXIT_CODE=%ERRORLEVEL%
|
||||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||||
exit /b %EXIT_CODE%
|
exit /b %EXIT_CODE%
|
||||||
|
|
||||||
:mainEnd
|
:mainEnd
|
||||||
if "%OS%"=="Windows_NT" endlocal
|
if "%OS%"=="Windows_NT" endlocal
|
||||||
|
|
||||||
:omega
|
:omega
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
package eu.kanade.tachiyomi.lib.unpacker
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A helper class to extract substrings efficiently.
|
|
||||||
*
|
|
||||||
* Note that all methods move [startIndex] over the ending delimiter.
|
|
||||||
*/
|
|
||||||
class SubstringExtractor(private val text: String) {
|
|
||||||
private var startIndex = 0
|
|
||||||
|
|
||||||
fun skipOver(str: String) {
|
|
||||||
val index = text.indexOf(str, startIndex)
|
|
||||||
if (index == -1) return
|
|
||||||
startIndex = index + str.length
|
|
||||||
}
|
|
||||||
|
|
||||||
fun substringBefore(str: String): String {
|
|
||||||
val index = text.indexOf(str, startIndex)
|
|
||||||
if (index == -1) return ""
|
|
||||||
val result = text.substring(startIndex, index)
|
|
||||||
startIndex = index + str.length
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
fun substringBetween(left: String, right: String): String {
|
|
||||||
val index = text.indexOf(left, startIndex)
|
|
||||||
if (index == -1) return ""
|
|
||||||
val leftIndex = index + left.length
|
|
||||||
val rightIndex = text.indexOf(right, leftIndex)
|
|
||||||
if (rightIndex == -1) return ""
|
|
||||||
startIndex = rightIndex + right.length
|
|
||||||
return text.substring(leftIndex, rightIndex)
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,76 +0,0 @@
|
||||||
package eu.kanade.tachiyomi.lib.unpacker
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper class to unpack JavaScript code compressed by [packer](http://dean.edwards.name/packer/).
|
|
||||||
*
|
|
||||||
* Source code of packer can be found [here](https://github.com/evanw/packer/blob/master/packer.js).
|
|
||||||
*/
|
|
||||||
object Unpacker {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Unpacks JavaScript code compressed by packer.
|
|
||||||
*
|
|
||||||
* Specify [left] and [right] to unpack only the data between them.
|
|
||||||
*
|
|
||||||
* Note: single quotes `\'` in the data will be replaced with double quotes `"`.
|
|
||||||
*/
|
|
||||||
fun unpack(script: String, left: String? = null, right: String? = null): String =
|
|
||||||
unpack(SubstringExtractor(script), left, right)
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Unpacks JavaScript code compressed by packer.
|
|
||||||
*
|
|
||||||
* Specify [left] and [right] to unpack only the data between them.
|
|
||||||
*
|
|
||||||
* Note: single quotes `\'` in the data will be replaced with double quotes `"`.
|
|
||||||
*/
|
|
||||||
fun unpack(script: SubstringExtractor, left: String? = null, right: String? = null): String {
|
|
||||||
val packed = script
|
|
||||||
.substringBetween("}('", ".split('|'),0,{}))")
|
|
||||||
.replace("\\'", "\"")
|
|
||||||
|
|
||||||
val parser = SubstringExtractor(packed)
|
|
||||||
val data: String
|
|
||||||
if (left != null && right != null) {
|
|
||||||
data = parser.substringBetween(left, right)
|
|
||||||
parser.skipOver("',")
|
|
||||||
} else {
|
|
||||||
data = parser.substringBefore("',")
|
|
||||||
}
|
|
||||||
if (data.isEmpty()) return ""
|
|
||||||
|
|
||||||
val dictionary = parser.substringBetween("'", "'").split("|")
|
|
||||||
val size = dictionary.size
|
|
||||||
|
|
||||||
return wordRegex.replace(data) {
|
|
||||||
val key = it.value
|
|
||||||
val index = parseRadix62(key)
|
|
||||||
if (index >= size) return@replace key
|
|
||||||
dictionary[index].ifEmpty { key }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private val wordRegex by lazy { Regex("""\w+""") }
|
|
||||||
|
|
||||||
private fun parseRadix62(str: String): Int {
|
|
||||||
var result = 0
|
|
||||||
for (ch in str.toCharArray()) {
|
|
||||||
result = result * 62 + when {
|
|
||||||
ch.code <= '9'.code -> { // 0-9
|
|
||||||
ch.code - '0'.code
|
|
||||||
}
|
|
||||||
|
|
||||||
ch.code >= 'a'.code -> { // a-z
|
|
||||||
// ch - 'a' + 10
|
|
||||||
ch.code - ('a'.code - 10)
|
|
||||||
}
|
|
||||||
|
|
||||||
else -> { // A-Z
|
|
||||||
// ch - 'A' + 36
|
|
||||||
ch.code - ('A'.code - 36)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -35,7 +35,7 @@ dependencies {
|
||||||
// Note that this does not mean that generated sources are going to
|
// Note that this does not mean that generated sources are going to
|
||||||
// implement them too; this is just to be able to compile and generate sources.
|
// implement them too; this is just to be able to compile and generate sources.
|
||||||
rootProject.subprojects
|
rootProject.subprojects
|
||||||
.filter { it.path.startsWith(":lib") }
|
.filter { it.path.startsWith(":lib:") }
|
||||||
.forEach(::implementation)
|
.forEach(::implementation)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 139 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 209 KiB |
Before Width: | Height: | Size: 235 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 120 KiB |
Before Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 180 KiB |
Before Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 121 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 426 KiB |
Before Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 140 KiB |
Before Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 297 KiB |
Before Width: | Height: | Size: 103 KiB |
Before Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 405 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 68 KiB |