From 023c8834d6adfa8eea48fb89af848c787bcda9fe Mon Sep 17 00:00:00 2001 From: Yervant7 <71306082+Yervant7@users.noreply.github.com> Date: Tue, 16 Jan 2024 19:43:45 -0300 Subject: [PATCH] .. --- .github/workflows/ci.yml | 2 +- module/build.gradle.kts | 2 +- module/template/customize.sh | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d55c59b..a83648a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: workflow_dispatch: push: - branches: [ master ] + branches: [ main ] tags: [ v* ] pull_request: merge_group: diff --git a/module/build.gradle.kts b/module/build.gradle.kts index 680812b..1b5b263 100644 --- a/module/build.gradle.kts +++ b/module/build.gradle.kts @@ -22,7 +22,7 @@ android { } externalNativeBuild { ndkBuild { - arguments("qingyue=$moduleId") + arguments("MODULE_NAME=$moduleId") } } } diff --git a/module/template/customize.sh b/module/template/customize.sh index 207a661..5c31446 100644 --- a/module/template/customize.sh +++ b/module/template/customize.sh @@ -1,5 +1,8 @@ SKIPUNZIP=1 +DEBUG=@DEBUG@ +SONAME=@SONAME@ + if [ "$BOOTMODE" ] && [ "$APATCH" ]; then ui_print "- Installing from APatch app" else @@ -33,5 +36,8 @@ extract "$ZIPFILE" "hide.prop" "$MODPATH" chmod -R 755 "$MODPATH/*" +mkdir "$MODPATH/zygisk" + ui_print "- Extracting arm64 libraries" -extract "$ZIPFILE" "libs/arm64-v8a.so" "$MODPATH" true \ No newline at end of file +extract "$ZIPFILE" "lib/arm64-v8a/lib$SONAME.so" "$MODPATH/zygisk" true +mv "$MODPATH/zygisk/lib$SONAME.so" "$MODPATH/zygisk/arm64-v8a.so" \ No newline at end of file