You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.2 KiB

# Gitea Extension Repository for GD Scans
Host this folder on your Gitea instance.
## Setup
1. Push this repo to your Gitea:
```bash
git init
git add .
git commit -m "Initial extension repo"
git remote add origin https://gitea.pawelficek.eu/root/gdscans-extension.git
git push -u origin main
```
2. Make sure `index.min.json` is served as raw file:
- Gitea serves raw files at: `https://gitea.pawelficek.eu/root/gdscans-extension/raw/branch/main/index.min.json`
3. In Suwayomi Server, add your repo URL:
```
https://gitea.pawelficek.eu/root/gdscans-extension/raw/branch/main/index.min.json
```
4. You can also keep the official keiyoushi repo:
```
https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json
```
## Build Extension
From the keiyoushi extensions-source repo:
```bash
./gradlew :multisrc:overrides:mangathemesia:gdscans:assembleDebug
```
The APK will be at:
`multisrc/build/libs/tachiyomi-all.gdscans.apk`
## Update Extension
1. Copy new APK to this folder
2. Update `code` (versionCode) in index.min.json
3. Commit and push
## Files Needed
- `index.min.json` - Extension listing (required)
- `tachiyomi-all.gdscans.apk` - The built extension APK
After copying the APK here, push it to Gitea.