Skip to content

Commit

Permalink
BlueStacks Support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimjio committed Jul 3, 2022
1 parent 89d3c49 commit 994826a
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.1.6

- BlueStacks Support

## 2.1.5

- Fixed an issue that could cause NullReferenceException in Unity when loading some replacement assets
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.0-alpha05'
classpath 'com.android.tools.build:gradle:7.4.0-alpha07'
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun May 01 16:47:53 KST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-rc-1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-rc-2-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
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.1.5"
moduleVersionCode = 8
moduleVersion = "2.1.6"
moduleVersionCode = 9
moduleUpdateJson = "https://raw.githubusercontent.com/Kimjio/umamusume-localify-android/main/update"

// Riru
Expand Down
6 changes: 4 additions & 2 deletions module/src/main/cpp/stdinclude.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

struct ReplaceAsset {
std::string path;
Il2CppObject* asset;
Il2CppObject *asset;
};

using namespace std;
Expand Down Expand Up @@ -106,7 +106,9 @@ namespace {
bool IsRunningOnNativeBridge() {
char systemAbi[PROP_VALUE_MAX];
__system_property_get("ro.product.cpu.abi", systemAbi);
return (systemAbi == "x86"s || systemAbi == "x86_64"s) &&
char isaArm[PROP_VALUE_MAX];
__system_property_get("ro.dalvik.vm.isa.arm", isaArm);
return ((systemAbi == "x86"s || systemAbi == "x86_64"s) || isaArm == "x86"s) &&
(ABI == "armeabi-v7a"s || ABI == "arm64-v8a"s);
}
}
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.1.5",
"versionCode": 8,
"zipUrl": "https://github.com/Kimjio/umamusume-localify-android/releases/latest/download/riru-umamusume-localify-2.1.5-release.zip",
"version": "2.1.6",
"versionCode": 9,
"zipUrl": "https://github.com/Kimjio/umamusume-localify-android/releases/latest/download/riru-umamusume-localify-2.1.6-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.1.5",
"versionCode": 8,
"zipUrl": "https://github.com/Kimjio/umamusume-localify-android/releases/latest/download/zygisk-umamusume-localify-2.1.5-release.zip",
"version": "2.1.6",
"versionCode": 9,
"zipUrl": "https://github.com/Kimjio/umamusume-localify-android/releases/latest/download/zygisk-umamusume-localify-2.1.6-release.zip",
"changelog": "https://raw.githubusercontent.com/Kimjio/umamusume-localify-android/main/CHANGELOG.md"
}

0 comments on commit 994826a

Please sign in to comment.