Skip to content

Commit

Permalink
feat(genztoons): replaced suryatoons (#757)
Browse files Browse the repository at this point in the history
* feat(GenZToons): Removing SuryaToons - Adding GenZToons

SuryaToons is dead, GenZ Toons is the new team name

* Update src/rust/mangastream/sources/genztoons/res/source.json

Co-authored-by: Skitty <[email protected]>

* Same content and ids, just bump the version

---------

Co-authored-by: Skitty <[email protected]>
  • Loading branch information
Kareylo and Skittyblock authored Sep 22, 2024
1 parent 5a6905a commit cbf1730
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 32 deletions.
38 changes: 15 additions & 23 deletions src/rust/mangastream/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/rust/mangastream/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
if [ "$1" != "-a" ] && [ "$1" != "" ]; then
# compile specified source
cargo +nightly build --release

echo "packaging $1";
mkdir -p target/wasm32-unknown-unknown/release/Payload
cp res/* target/wasm32-unknown-unknown/release/Payload
Expand All @@ -30,6 +30,6 @@ else
zip -r $dir.aix Payload >> /dev/null
mv $dir.aix ../../../$dir.aix
rm -rf Payload
cd ../../../
cd ../../../
done
fi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "suryatoon"
name = "genztoons"
version = "0.1.0"
edition = "2021"
publish = false
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
"name": "Demons",
"id": "70"
},
{
"type": "check",
"name": "Dragon",
"id": "118"
},
{
"type": "check",
"name": "Drama",
Expand All @@ -61,11 +66,21 @@
"name": "Dungeons",
"id": "43"
},
{
"type": "check",
"name": "Ecchi",
"id": "120"
},
{
"type": "check",
"name": "Fantasy",
"id": "34"
},
{
"type": "check",
"name": "Fighting",
"id": "111"
},
{
"type": "check",
"name": "Games",
Expand All @@ -86,6 +101,11 @@
"name": "Genius MC",
"id": "87"
},
{
"type": "check",
"name": "Harem",
"id": "121"
},
{
"type": "check",
"name": "Historical",
Expand All @@ -101,6 +121,11 @@
"name": "Law",
"id": "45"
},
{
"type": "check",
"name": "loli",
"id": "115"
},
{
"type": "check",
"name": "Magic",
Expand Down Expand Up @@ -131,6 +156,11 @@
"name": "Medieval",
"id": "84"
},
{
"type": "check",
"name": "Monster Girls",
"id": "122"
},
{
"type": "check",
"name": "Monsters",
Expand Down Expand Up @@ -241,6 +271,11 @@
"name": "Thriller",
"id": "76"
},
{
"type": "check",
"name": "Violence",
"id": "113"
},
{
"type": "check",
"name": "Virtual Reality",
Expand Down Expand Up @@ -271,7 +306,8 @@
"Manga",
"Manhwa",
"Manhua",
"Comic"
"Comic",
"Novel"
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"info": {
"id": "en.suryatoon",
"lang": "en",
"name": "Surya Toon",
"version": 2,
"url": "https://suryatoon.com/",
"name": "GenZ Toon",
"version": 3,
"url": "https://genztoons.com",
"nsfw": 0
},
"listings": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use mangastream_template::template::MangaStreamSource;

fn get_instance() -> MangaStreamSource {
MangaStreamSource {
base_url: String::from("https://suryatoon.com"),
base_url: String::from("https://genztoons.com"),
manga_details_author: ".imptdt:contains(Author) i",
manga_details_artist: ".imptdt:contains(Artist) i",
manga_details_type: ".imptdt:contains(Type) a",
Expand Down
Binary file removed src/rust/mangastream/sources/suryatoon/res/Icon.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/rust/mangastream/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ publish = false

[dependencies]
aidoku = { git = "https://github.com/Aidoku/aidoku-rs", features = ["helpers"] }
hashbrown = "0.14.3"
hashbrown = "0.14.5"

0 comments on commit cbf1730

Please sign in to comment.