Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Commit

Permalink
+ 3.9.5 适配微信深色模式
Browse files Browse the repository at this point in the history
+ 支持debug调试
  • Loading branch information
eritpchy committed Dec 24, 2019
1 parent b38aeef commit dd9170d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion riru-module-xfingerprint-pay-wechat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ android {

task zip(type: Exec) {
workingDir '..'
commandLine 'sh', 'build.sh', project.name, 'v3.9.4'
commandLine 'sh', 'build.sh', project.name, 'v3.9.5'
}
8 changes: 6 additions & 2 deletions riru-module-xfingerprint-pay-wechat/jni/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@ int nativeForkAndSpecializePost(JNIEnv *env, jclass clazz, jint res) {
char appCacheDir[PATH_MAX] = {0};
snprintf(appCacheDir, PATH_MAX - 1, "%s/cache", sAppDataDir);

loadDex(env,
env->NewStringUTF("/system/framework/libxfingerprint_pay_wechat.dex"),
const char *dexPath = "/data/local/tmp/libxfingerprint_pay_wechat.dex";
if (access(dexPath, 0) != 0) {
dexPath = "/system/framework/libxfingerprint_pay_wechat.dex";
}
loadDex(env,
env->NewStringUTF(dexPath),
env->NewStringUTF(appCacheDir),
env->NewStringUTF("com.yyxx.wechatfp.xposed.plugin.XposedWeChatPlugin"),
"main",
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=riru-module-xfingerprint-pay-wechat
name=Riru - 指纹支付 - 微信
version=v3.9.4
version=v3.9.5
versionCode=1
author=Jason Eric
description=让微信支持指纹支付 Fingerprint pay for wechat
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Riru - 指纹支付 - 微信
version=v3.9.4
version=v3.9.5
versionCode=1
author=Jason Eric
description=让微信支持指纹支付\nFingerprint pay for wechat
Expand Down
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ set -e
cd ${0%/*}
./gradlew clean
./gradlew :riru-module-xfingerprint-pay-wechat:zip
adb shell rm -fv "/data/local/tmp/libxfingerprint_pay_wechat.dex"
adb push ./release/* /sdcard/Download/

0 comments on commit dd9170d

Please sign in to comment.