-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert FlixScans to multisrc (#17902)
* Convert FlixScans to multisrc and move GalaxyManga to it * add MangaNoon as well * space in name
- Loading branch information
1 parent
0154639
commit b24426f
Showing
29 changed files
with
69 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<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> |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package eu.kanade.tachiyomi.extension.en.flixscans | ||
|
||
import eu.kanade.tachiyomi.multisrc.flixscans.FlixScans | ||
|
||
class FlixScansNet : FlixScans("Flix Scans", "https://flixscans.net", "en", cdnUrl = "https://media.flixscans.net/") |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package eu.kanade.tachiyomi.extension.ar.galaxymanga | ||
|
||
import eu.kanade.tachiyomi.multisrc.flixscans.FlixScans | ||
|
||
class GalaxyManga : FlixScans("جالاكسي مانجا", "https://flixscans.com", "ar") { | ||
override val versionId = 2 | ||
} |
Binary file added
BIN
+6.76 KB
multisrc/overrides/flixscans/manganoon/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.42 KB
multisrc/overrides/flixscans/manganoon/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.6 KB
multisrc/overrides/flixscans/manganoon/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.2 KB
multisrc/overrides/flixscans/manganoon/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.7 KB
multisrc/overrides/flixscans/manganoon/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 0 additions & 18 deletions
18
multisrc/overrides/mangathemesia/galaxymanga/src/GalaxyManga.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/flixscans/FlixScansGenerator.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package eu.kanade.tachiyomi.multisrc.flixscans | ||
|
||
import generator.ThemeSourceData.SingleLang | ||
import generator.ThemeSourceGenerator | ||
|
||
class FlixScansGenerator : ThemeSourceGenerator { | ||
|
||
override val themePkg = "flixscans" | ||
|
||
override val themeClass = "FlixScans" | ||
|
||
override val baseVersionCode: Int = 2 | ||
|
||
override val sources = listOf( | ||
SingleLang("Flix Scans", "https://flixscans.net", "en", className = "FlixScansNet", pkgName = "flixscans"), | ||
SingleLang("جالاكسي مانجا", "https://flixscans.com", "ar", className = "GalaxyManga", overrideVersionCode = 25), | ||
SingleLang("مانجا نون", "https://manjanoon.com", "ar", className = "MangaNoon"), | ||
) | ||
|
||
companion object { | ||
@JvmStatic | ||
fun main(args: Array<String>) { | ||
FlixScansGenerator().createAll() | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
.../extension/en/flixscans/FlixScansGenre.kt → ...yomi/multisrc/flixscans/FlixScansGenre.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.