Skip to content

Commit

Permalink
x86: Fix error where libs are only partially copied
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimjio committed Apr 17, 2023
1 parent 6a46979 commit 76c8db4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.16.2

- x86: Fix error where libs are only partially copied

## 2.16.1

- Immediately hide captions when voice stops
Expand Down
4 changes: 2 additions & 2 deletions module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ ext {
moduleName = "UmamusumeLocalify"
moduleAuthor = "Kimjio"
moduleDescription = "umamusume-localify"
moduleVersion = "2.16.1"
moduleVersionCode = 26
moduleVersion = "2.16.2"
moduleVersionCode = 27
moduleUpdateJson = "https://raw.githubusercontent.com/Kimjio/umamusume-localify-android/main/update"

// Riru
Expand Down
14 changes: 9 additions & 5 deletions template/magisk_module/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,34 @@ if [ "$ABI" = "x86" ]; then
if [ -d "/data/data/com.komoe.kmumamusumemc" ]; then
copy_lib "com.komoe.kmumamusumemc"
fi
elif [ $ABI = "x86_64" ]; then
elif [ "$ABI" = "x86_64" ]; then
if [ -d "/data/data/jp.co.cygames.umamusume" ]; then
if get_installed_abi "jp.co.cygames.umamusume" = "armeabi-v7a" ; then
INSTALLED_ABI=$(get_installed_abi "jp.co.cygames.umamusume")
if [ "$INSTALLED_ABI" = "armeabi-v7a" ]; then
copy_lib "jp.co.cygames.umamusume"
else
copy_lib64 "jp.co.cygames.umamusume"
fi
fi
if [ -d "/data/data/com.kakaogames.umamusume" ]; then
if get_installed_abi "com.kakaogames.umamusume" = "armeabi-v7a" ; then
INSTALLED_ABI=$(get_installed_abi "com.kakaogames.umamusume")
if [ "$INSTALLED_ABI" = "armeabi-v7a" ]; then
copy_lib "com.kakaogames.umamusume"
else
copy_lib64 "com.kakaogames.umamusume"
fi
fi
if [ -d "/data/data/com.komoe.kmumamusumegp" ]; then
if get_installed_abi "com.komoe.kmumamusumegp" = "armeabi-v7a" ; then
INSTALLED_ABI=$(get_installed_abi "com.komoe.kmumamusumegp")
if [ "$INSTALLED_ABI" = "armeabi-v7a" ]; then
copy_lib "com.komoe.kmumamusumegp"
else
copy_lib64 "com.komoe.kmumamusumegp"
fi
fi
if [ -d "/data/data/com.komoe.kmumamusumemc" ]; then
if get_installed_abi "com.komoe.kmumamusumemc" = "armeabi-v7a" ; then
INSTALLED_ABI=$(get_installed_abi "com.komoe.kmumamusumemc")
if [ "$INSTALLED_ABI" = "armeabi-v7a" ]; then
copy_lib "com.komoe.kmumamusumemc"
else
copy_lib64 "com.komoe.kmumamusumemc"
Expand Down
6 changes: 3 additions & 3 deletions update-riru.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.16.1",
"versionCode": 26,
"zipUrl": "https://github.com/Kimjio/umamusume-localify-android/releases/latest/download/riru-umamusume-localify-2.16.1-release.zip",
"version": "2.16.2",
"versionCode": 27,
"zipUrl": "https://github.com/Kimjio/umamusume-localify-android/releases/latest/download/riru-umamusume-localify-2.16.2-release.zip",
"changelog": "https://raw.githubusercontent.com/Kimjio/umamusume-localify-android/main/CHANGELOG.md"
}
6 changes: 3 additions & 3 deletions update-zygisk.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.16.1",
"versionCode": 26,
"zipUrl": "https://github.com/Kimjio/umamusume-localify-android/releases/latest/download/zygisk-umamusume-localify-2.16.1-release.zip",
"version": "2.16.2",
"versionCode": 27,
"zipUrl": "https://github.com/Kimjio/umamusume-localify-android/releases/latest/download/zygisk-umamusume-localify-2.16.2-release.zip",
"changelog": "https://raw.githubusercontent.com/Kimjio/umamusume-localify-android/main/CHANGELOG.md"
}

0 comments on commit 76c8db4

Please sign in to comment.