Compare commits

..

2 commits

Author SHA1 Message Date
Arkai1
bf3fbadec8
Update build.gradle 2025-05-19 09:34:30 +05:30
Arkai1
0dc5fcb60b
Update HiAnime.kt 2025-05-19 09:34:11 +05:30
24 changed files with 51 additions and 21213 deletions

View file

@ -10,7 +10,7 @@ on:
jobs:
stale:
runs-on: docker
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
with:

View file

@ -18,12 +18,15 @@ env:
jobs:
prepare:
name: Prepare job
runs-on: docker
runs-on: ubuntu-latest
outputs:
individualMatrix: ${{ steps.generate-matrices.outputs.individualMatrix }}
steps:
- name: Clone repo
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@a494d935f4b56874c4a5a87d19af7afcf3a163d0 # v2
- name: Get number of modules
run: |
@ -34,7 +37,7 @@ jobs:
- id: generate-matrices
name: Create output matrices
uses: https://github.com/actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
with:
script: |
const numIndividualModules = process.env.NUM_INDIVIDUAL_MODULES;
@ -49,21 +52,21 @@ jobs:
build_individual:
name: Build individual modules
needs: prepare
runs-on: docker
runs-on: ubuntu-latest
strategy:
matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }}
steps:
- name: Checkout PR
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up JDK
uses: https://github.com/actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
with:
java-version: 17
distribution: temurin
- name: Set up Gradle
uses: https://github.com/gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3
with:
cache-read-only: true

View file

@ -21,22 +21,15 @@ env:
jobs:
prepare:
name: Prepare job
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
outputs:
individualMatrix: ${{ steps.generate-matrices.outputs.individualMatrix }}
steps:
- name: Clone repo
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: main
token: ${{ secrets.BOT_PAT }}
- name: Get number of modules
run: |
set -x
projects=(src/*/*)
export CI_CHUNK_NUM=${#projects[@]}
echo "NUM_INDIVIDUAL_MODULES=${#projects[@]}" >> $GITHUB_ENV
# Temporary pause because of leak of tj-actions/changed-files
# - name: Find lib changes
@ -49,7 +42,7 @@ jobs:
# safe_output: false
- name: Import GPG key
uses: https://github.com/crazy-max/ghaction-import-gpg@v6 # v6.1.0
uses: crazy-max/ghaction-import-gpg@v6 # v6.1.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
@ -62,10 +55,20 @@ jobs:
# run: |
# chmod +x ./.github/scripts/bump-versions.py
# ./.github/scripts/bump-versions.py ${{ steps.modified-libs.outputs.all_changed_files }}
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v4
- name: Get number of modules
run: |
set -x
projects=(src/*/*)
echo "NUM_INDIVIDUAL_MODULES=${#projects[@]}" >> $GITHUB_ENV
- id: generate-matrices
name: Create output matrices
uses: https://github.com/actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
with:
script: |
const numIndividualModules = process.env.NUM_INDIVIDUAL_MODULES;
@ -80,17 +83,17 @@ jobs:
build_individual:
name: Build individual modules
needs: prepare
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }}
steps:
- name: Checkout main branch
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: main
- name: Set up JDK
uses: https://github.com/actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
with:
java-version: 17
distribution: temurin
@ -100,7 +103,7 @@ jobs:
echo ${{ secrets.SIGNING_KEY }} | base64 -d > signingkey.jks
- name: Set up Gradle
uses: https://github.com/gradle/actions/setup-gradle@245c8a24de79c0dbeabaf19ebcbbd3b2c36f278d # v4
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3
- name: Build extensions (chunk ${{ matrix.chunk }})
env:
@ -111,7 +114,7 @@ jobs:
run: chmod +x ./gradlew && ./gradlew -p src assembleRelease
- name: Upload APKs (chunk ${{ matrix.chunk }})
uses: https://github.com/actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
if: "github.repository == 'Kohi-den/extensions-source'"
with:
name: "individual-apks-${{ matrix.chunk }}"
@ -125,22 +128,22 @@ jobs:
name: Publish repo
needs:
- build_individual
if: "github.repository == 'AlmightyHak/extensions-source'"
runs-on: ubuntu-22.04
if: "github.repository == 'Kohi-den/extensions-source'"
runs-on: ubuntu-latest
steps:
- name: Download APK artifacts
uses: https://github.com/actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4
with:
path: ~/apk-artifacts
- name: Set up JDK
uses: https://github.com/actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
with:
java-version: 17
distribution: temurin
- name: Checkout main branch
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: main
path: main
@ -155,9 +158,9 @@ jobs:
python ./.github/scripts/create-repo.py
- name: Checkout repo branch
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
repository: AlmightyHak/extensions
repository: Kohi-den/extensions
token: ${{ secrets.BOT_PAT }}
ref: main
path: repo
@ -167,9 +170,9 @@ jobs:
rsync -a --delete --exclude .git --exclude .gitignore main/repo/ repo --exclude README.md --exclude repo.json
- name: Deploy repo
uses: https://github.com/EndBug/add-and-commit@v9
uses: EndBug/add-and-commit@v9
with:
message: "Update extensions repo"
cwd: "./repo"
committer_name: AlmightyHak
committer_email: almightyhak@noreply.localhost
committer_name: Kohi-den-Bot
committer_email: 177773202+Kohi-den-Bot@users.noreply.github.com

View file

@ -8,7 +8,7 @@ on:
jobs:
autoclose:
runs-on: docker
runs-on: ubuntu-latest
steps:
- name: Moderate issues
uses: aniyomiorg/issue-moderator-action@v2

View file

@ -10,7 +10,7 @@ on:
jobs:
lock:
runs-on: docker
runs-on: ubuntu-latest
permissions:
issues: write
steps:

View file

@ -2,9 +2,9 @@
just paste this into your anime repo
```
https://kohiden.xyz/AlmightyHak/extensions/raw/branch/main/index.min.json
https://raw.githubusercontent.com/Kohi-den/extensions/main/index.min.json
```
If your interested in installing just the apks they can be found [Here](https://kohiden.xyz/AlmightyHak/extensions/src/branch/main/apk)
If your interested in installing just the apks they can be found [Here](https://github.com/Kohi-den/extensions)
## Support Server

File diff suppressed because it is too large Load diff

BIN
SDK/adb

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,2 +0,0 @@
24333f8a63b6825ea9c5514f83c2829b004d1fee

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,53 +0,0 @@
[defaults]
base_features = sparse_super,large_file,filetype,dir_index,ext_attr
default_mntopts = acl,user_xattr
enable_periodic_fsck = 0
blocksize = 4096
inode_size = 256
inode_ratio = 16384
reserved_ratio = 1.0
[fs_types]
ext3 = {
features = has_journal
}
ext4 = {
features = has_journal,extent,huge_file,dir_nlink,extra_isize,uninit_bg
inode_size = 256
}
ext4dev = {
features = has_journal,extent,huge_file,flex_bg,inline_data,64bit,dir_nlink,extra_isize
inode_size = 256
options = test_fs=1
}
small = {
blocksize = 1024
inode_size = 128
inode_ratio = 4096
}
floppy = {
blocksize = 1024
inode_size = 128
inode_ratio = 8192
}
big = {
inode_ratio = 32768
}
huge = {
inode_ratio = 65536
}
news = {
inode_ratio = 4096
}
largefile = {
inode_ratio = 1048576
blocksize = -1
}
largefile4 = {
inode_ratio = 4194304
blocksize = -1
}
hurd = {
blocksize = 4096
inode_size = 128
}

View file

@ -1,2 +0,0 @@
Pkg.UserSrc=false
Pkg.Revision=36.0.0

Binary file not shown.

View file

@ -18,4 +18,4 @@ allprojects {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}
}
}

View file

@ -1 +0,0 @@
sdk.dir=/workspace/AlmightyHak/extensions-source/SDK

View file

@ -19,8 +19,8 @@ if (System.getenv("CI") != "true") {
} else {
// Running in CI (GitHub Actions)
val chunkSize = System.getenv("CI_CHUNK_SIZE")?.toIntOrNull() ?: Int.MAX_VALUE
val chunk = System.getenv("CI_CHUNK_NUM")?.toIntOrNull() ?: 0
val chunkSize = System.getenv("CI_CHUNK_SIZE").toInt()
val chunk = System.getenv("CI_CHUNK_NUM").toInt()
// Loads individual extensions
File(rootDir, "src").getChunk(chunk, chunkSize)?.forEach {

View file

@ -3,7 +3,7 @@ ext {
extClass = '.HiAnime'
themePkg = 'zorotheme'
baseUrl = 'https://hianimez.to'
overrideVersionCode = 51
overrideVersionCode = 52
}
apply from: "$rootDir/common.gradle"

View file

@ -19,6 +19,7 @@ class HiAnime : ZoroTheme(
hosterNames = listOf(
"HD-1",
"HD-2",
"HD-3",
"StreamTape",
),
) {
@ -53,7 +54,7 @@ class HiAnime : ZoroTheme(
)?.let(::listOf) ?: emptyList()
}
"HD-1", "HD-2" -> megaCloudExtractor.getVideosFromUrl(
"HD-1", "HD-2", "HD-3" -> megaCloudExtractor.getVideosFromUrl(
server.link,
server.type,
server.name,