This commit is contained in:
Yervant7
2024-01-16 19:43:45 -03:00
parent 8c0524dc0f
commit 023c8834d6
3 changed files with 9 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ name: CI
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: [ master ] branches: [ main ]
tags: [ v* ] tags: [ v* ]
pull_request: pull_request:
merge_group: merge_group:

View File

@@ -22,7 +22,7 @@ android {
} }
externalNativeBuild { externalNativeBuild {
ndkBuild { ndkBuild {
arguments("qingyue=$moduleId") arguments("MODULE_NAME=$moduleId")
} }
} }
} }

View File

@@ -1,5 +1,8 @@
SKIPUNZIP=1 SKIPUNZIP=1
DEBUG=@DEBUG@
SONAME=@SONAME@
if [ "$BOOTMODE" ] && [ "$APATCH" ]; then if [ "$BOOTMODE" ] && [ "$APATCH" ]; then
ui_print "- Installing from APatch app" ui_print "- Installing from APatch app"
else else
@@ -33,5 +36,8 @@ extract "$ZIPFILE" "hide.prop" "$MODPATH"
chmod -R 755 "$MODPATH/*" chmod -R 755 "$MODPATH/*"
mkdir "$MODPATH/zygisk"
ui_print "- Extracting arm64 libraries" ui_print "- Extracting arm64 libraries"
extract "$ZIPFILE" "libs/arm64-v8a.so" "$MODPATH" true extract "$ZIPFILE" "lib/arm64-v8a/lib$SONAME.so" "$MODPATH/zygisk" true
mv "$MODPATH/zygisk/lib$SONAME.so" "$MODPATH/zygisk/arm64-v8a.so"