From 0125a32d7498815b75ac6cb46d2531f0b23fcf0a Mon Sep 17 00:00:00 2001 From: jmir1 Date: Sun, 25 Apr 2021 00:32:20 +0200 Subject: [PATCH] change package name everywhere --- .github/scripts/create-repo.sh | 2 +- CONTRIBUTING.md | 4 ++-- core/AndroidManifest.xml | 10 +++++----- .../en/twodgirlstech/TwoDGirlsTech.kt | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) rename src/en/twodgirlstech/src/eu/kanade/tachiyomi/{extension => animeextension}/en/twodgirlstech/TwoDGirlsTech.kt (98%) diff --git a/.github/scripts/create-repo.sh b/.github/scripts/create-repo.sh index 93fe3be7e..232961f6c 100755 --- a/.github/scripts/create-repo.sh +++ b/.github/scripts/create-repo.sh @@ -20,7 +20,7 @@ for APK in ${APKS[@]}; do PKGNAME=$(echo $PACKAGE | grep -Po "package: name='\K[^']+") VCODE=$(echo $PACKAGE | grep -Po "versionCode='\K[^']+") VNAME=$(echo $PACKAGE | grep -Po "versionName='\K[^']+") - NSFW=$(echo $BADGING | grep -Po "tachiyomi.extension.nsfw' value='\K[^']+") + NSFW=$(echo $BADGING | grep -Po "tachiyomi.animeextension.nsfw' value='\K[^']+") APPLICATION=$(echo "$BADGING" | grep application:) LABEL=$(echo $APPLICATION | grep -Po "label='\K[^']+") diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 89169fd2c..7ce4392ef 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -88,7 +88,7 @@ apply from: "$rootDir/common.gradle" | Field | Description | | ----- | ----------- | | `extName` | The name of the extension. | -| `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. | +| `pkgNameSuffix` | A unique suffix added to `eu.kanade.tachiyomi.animeextension`. 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). | | `extVersionCode` | The extension version code. This must be a positive integer and incremented with any change to the code. | | `libVersion` | The version of the [extensions library](https://github.com/tachiyomiorg/extensions-lib) used. | @@ -341,7 +341,7 @@ os.makedirs(f"{package}/src") os.makedirs(f"{package}/res") with open(f"{package}/src/{source}.kt", "w") as f: - f.write(f"package eu.kanade.tachiyomi.extension.{lang}.{package}\n\n") + f.write(f"package eu.kanade.tachiyomi.animeextension.{lang}.{package}\n\n") ``` ### Additional Notes diff --git a/core/AndroidManifest.xml b/core/AndroidManifest.xml index 42882ce0e..03efc77cf 100644 --- a/core/AndroidManifest.xml +++ b/core/AndroidManifest.xml @@ -1,14 +1,14 @@ + package="eu.kanade.tachiyomi.animeextension"> - + - - - + + + diff --git a/src/en/twodgirlstech/src/eu/kanade/tachiyomi/extension/en/twodgirlstech/TwoDGirlsTech.kt b/src/en/twodgirlstech/src/eu/kanade/tachiyomi/animeextension/en/twodgirlstech/TwoDGirlsTech.kt similarity index 98% rename from src/en/twodgirlstech/src/eu/kanade/tachiyomi/extension/en/twodgirlstech/TwoDGirlsTech.kt rename to src/en/twodgirlstech/src/eu/kanade/tachiyomi/animeextension/en/twodgirlstech/TwoDGirlsTech.kt index 084a52101..490ae535f 100644 --- a/src/en/twodgirlstech/src/eu/kanade/tachiyomi/extension/en/twodgirlstech/TwoDGirlsTech.kt +++ b/src/en/twodgirlstech/src/eu/kanade/tachiyomi/animeextension/en/twodgirlstech/TwoDGirlsTech.kt @@ -1,4 +1,4 @@ -package eu.kanade.tachiyomi.extension.en.twodgirlstech +package eu.kanade.tachiyomi.animeextension.en.twodgirlstech import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.source.model.AnimesPage