change package name everywhere
This commit is contained in:
parent
8aa648c7ae
commit
0125a32d74
2
.github/scripts/create-repo.sh
vendored
2
.github/scripts/create-repo.sh
vendored
@ -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[^']+")
|
||||
|
@ -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
|
||||
|
@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="eu.kanade.tachiyomi.extension">
|
||||
package="eu.kanade.tachiyomi.animeextension">
|
||||
|
||||
<uses-feature android:name="tachiyomi.extension" />
|
||||
<uses-feature android:name="tachiyomi.animeextension" />
|
||||
|
||||
<application android:icon="@mipmap/ic_launcher" android:allowBackup="false" android:label="${appName}">
|
||||
|
||||
<meta-data android:name="tachiyomi.extension.class" android:value="${extClass}" />
|
||||
<meta-data android:name="tachiyomi.extension.factory" android:value="${extFactory}" />
|
||||
<meta-data android:name="tachiyomi.extension.nsfw" android:value="${nsfw}" />
|
||||
<meta-data android:name="tachiyomi.animeextension.class" android:value="${extClass}" />
|
||||
<meta-data android:name="tachiyomi.animeextension.factory" android:value="${extFactory}" />
|
||||
<meta-data android:name="tachiyomi.animeextension.nsfw" android:value="${nsfw}" />
|
||||
|
||||
</application>
|
||||
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user