From ffec97424a45f9872bb5cab3d18a9f5872837ab0 Mon Sep 17 00:00:00 2001
From: su <1044205037@qq.com>
Date: Sun, 24 Feb 2019 17:49:35 +0800
Subject: [PATCH] v1.13
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
增加极简模式;
---
README.md | 3 +-
build.gradle | 4 +-
wechathelper/build.gradle | 18 +-
wechathelper/src/main/AndroidManifest.xml | 1 +
.../java/com/wuxiaosu/wechathelper/Main.java | 2 -
.../wechathelper/activity/MainActivity.java | 4 +-
.../wechathelper/hook/LauncherUIHook.java | 257 ++++++++++++---
.../wuxiaosu/wechathelper/hook/UIHook.java | 295 ------------------
.../src/main/res/layout/activity_main.xml | 8 +-
wechathelper/src/main/res/values/strings.xml | 2 +-
10 files changed, 233 insertions(+), 361 deletions(-)
delete mode 100644 wechathelper/src/main/java/com/wuxiaosu/wechathelper/hook/UIHook.java
diff --git a/README.md b/README.md
index 0439107..6ea3485 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,8 @@ Xposed 微信辅助模块,实现消息防撤回、模拟位置、运动步数
- ~~release from [酷安](https://www.coolapk.com/apk/180057)~~(被和谐了)
## 交流
Q群:123320001
-群主人很好
+## v1.13
+诈尸,告诉大家还没弃坑;
## v1.12
修复了模拟定位;
修复了防撤回;
diff --git a/build.gradle b/build.gradle
index 3d854b5..0273b8e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,8 +7,8 @@ buildscript {
jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:3.1.4'
- classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1'
+ classpath 'com.android.tools.build:gradle:3.3.1'
+ classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-rc2'
// NOTE: Do not place your application dependencies here; they belong
diff --git a/wechathelper/build.gradle b/wechathelper/build.gradle
index aed2857..4abea01 100644
--- a/wechathelper/build.gradle
+++ b/wechathelper/build.gradle
@@ -6,8 +6,8 @@ android {
applicationId "com.wuxiaosu.wechathelper"
minSdkVersion 21
targetSdkVersion 23
- versionCode 13
- versionName "1.12"
+ versionCode 14
+ versionName "1.13"
}
signingConfigs {
@@ -32,10 +32,10 @@ android {
]
applicationVariants.all { variant ->
variant.outputs.all { output ->
- def oldFile = output.outputFile
- def newName = oldFile.name
+ def oldFile = output.outputFileName
+ def newName = oldFile
if (variant.buildType.name == 'release') {
- newName = oldFile.name.replace(".", "-v" + variant.versionName + '.')
+ newName = oldFile.replace(".", "-v" + variant.versionName + '.')
}
outputFileName = newName
}
@@ -51,10 +51,10 @@ android {
applicationVariants.all { variant ->
variant.outputs.all { output ->
- def oldFile = output.outputFile
- def newName = oldFile.name
+ def oldFile = output.outputFileName
+ def newName = oldFile
if (variant.buildType.name == 'debug') {
- newName = oldFile.name.replace(".", "-v" + buildTime() + '.')
+ newName = oldFile.replace(".", "-v" + buildTime() + '.')
}
outputFileName = newName
}
@@ -81,7 +81,7 @@ dependencies {
implementation 'com.android.support:appcompat-v7:26.1.0'
compileOnly 'de.robv.android.xposed:api:82'
implementation 'me.weishu:epic:0.3.6'
- implementation 'com.jaeger.statusbarutil:library:1.4.0'
+ implementation 'com.jaeger.statusbarutil:library:1.5.1'
implementation 'com.github.arimorty:floatingsearchview:2.1.1'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
diff --git a/wechathelper/src/main/AndroidManifest.xml b/wechathelper/src/main/AndroidManifest.xml
index 59718da..e021e13 100644
--- a/wechathelper/src/main/AndroidManifest.xml
+++ b/wechathelper/src/main/AndroidManifest.xml
@@ -20,6 +20,7 @@
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
+ android:resizeableActivity="true"
android:supportsRtl="true"
android:theme="@style/AppTheme">
-
+ app:label_text="极简模式"
+ app:preferences_key="@string/pre_key_only_show_chat"
+ app:subheading_text="设置改变需重启微信" />
morra
dice
disable_revoke
- hide_discover
+ only_show_chat
fake_launcher_menu
pc_auto_login