mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 10:45:47 +08:00
Update version to 1.0.77
This commit is contained in:
@@ -10,7 +10,7 @@ ext {
|
|||||||
devUser = "fankesyooni"
|
devUser = "fankesyooni"
|
||||||
userEmail = "qzmmcn@163.com"
|
userEmail = "qzmmcn@163.com"
|
||||||
groupId = "com.highcapable.yukihookapi"
|
groupId = "com.highcapable.yukihookapi"
|
||||||
apiVersion = "1.0.76"
|
apiVersion = "1.0.77"
|
||||||
repoName = "YukiHookAPI"
|
repoName = "YukiHookAPI"
|
||||||
repoDescription = "An efficient Kotlin version of the Xposed Hook API."
|
repoDescription = "An efficient Kotlin version of the Xposed Hook API."
|
||||||
licenceName = "MIT License"
|
licenceName = "MIT License"
|
||||||
|
@@ -568,7 +568,7 @@ fun any(): Any?
|
|||||||
|
|
||||||
<b>变更记录</b>
|
<b>变更记录</b>
|
||||||
|
|
||||||
`v1.0.76` `新增`
|
`v1.0.77` `新增`
|
||||||
|
|
||||||
<b>功能描述</b>
|
<b>功能描述</b>
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@ open class ModuleApplication: Application()
|
|||||||
|
|
||||||
<b>变更记录</b>
|
<b>变更记录</b>
|
||||||
|
|
||||||
`v1.0.76` `新增`
|
`v1.0.77` `新增`
|
||||||
|
|
||||||
<b>功能描述</b>
|
<b>功能描述</b>
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@ val appContext: ModuleApplication
|
|||||||
|
|
||||||
<b>变更记录</b>
|
<b>变更记录</b>
|
||||||
|
|
||||||
`v1.0.76` `新增`
|
`v1.0.77` `新增`
|
||||||
|
|
||||||
<b>功能描述</b>
|
<b>功能描述</b>
|
||||||
|
|
||||||
|
@@ -98,7 +98,7 @@ fun getStringSet(key: String, value: Set<String>): Set<String>
|
|||||||
|
|
||||||
<b>变更记录</b>
|
<b>变更记录</b>
|
||||||
|
|
||||||
`v1.0.76` `新增`
|
`v1.0.77` `新增`
|
||||||
|
|
||||||
<b>功能描述</b>
|
<b>功能描述</b>
|
||||||
|
|
||||||
@@ -168,7 +168,7 @@ fun all(): HashMap<String, Any?>
|
|||||||
|
|
||||||
<b>变更记录</b>
|
<b>变更记录</b>
|
||||||
|
|
||||||
`v1.0.76` `新增`
|
`v1.0.77` `新增`
|
||||||
|
|
||||||
<b>功能描述</b>
|
<b>功能描述</b>
|
||||||
|
|
||||||
@@ -218,7 +218,7 @@ fun clear()
|
|||||||
|
|
||||||
<b>变更记录</b>
|
<b>变更记录</b>
|
||||||
|
|
||||||
`v1.0.76` `新增`
|
`v1.0.77` `新增`
|
||||||
|
|
||||||
<b>功能描述</b>
|
<b>功能描述</b>
|
||||||
|
|
||||||
@@ -250,7 +250,7 @@ fun putStringSet(key: String, value: Set<String>)
|
|||||||
|
|
||||||
<b>变更记录</b>
|
<b>变更记录</b>
|
||||||
|
|
||||||
`v1.0.76` `新增`
|
`v1.0.77` `新增`
|
||||||
|
|
||||||
<b>功能描述</b>
|
<b>功能描述</b>
|
||||||
|
|
||||||
|
@@ -10,10 +10,10 @@ import androidx.annotation.Keep;
|
|||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author weishu
|
* author weishu
|
||||||
* @date 2020/7/13.
|
* date 2020/7/13.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("ALL")
|
@SuppressWarnings("unused")
|
||||||
@Keep
|
@Keep
|
||||||
public final class BootstrapClass {
|
public final class BootstrapClass {
|
||||||
|
|
||||||
|
@@ -16,10 +16,10 @@ import java.lang.reflect.Method;
|
|||||||
import dalvik.system.DexFile;
|
import dalvik.system.DexFile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author weishu
|
* author weishu
|
||||||
* @date 2018/6/7.
|
* date 2018/6/7.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("ALL")
|
@SuppressWarnings("unused")
|
||||||
@Keep
|
@Keep
|
||||||
public class Reflection {
|
public class Reflection {
|
||||||
private static final String TAG = "Reflection";
|
private static final String TAG = "Reflection";
|
||||||
@@ -32,6 +32,7 @@ public class Reflection {
|
|||||||
* Begin
|
* Begin
|
||||||
*
|
*
|
||||||
* @param context The Base Context
|
* @param context The Base Context
|
||||||
|
* @return int
|
||||||
*/
|
*/
|
||||||
public static int unseal(Context context) {
|
public static int unseal(Context context) {
|
||||||
if (SDK_INT < 28) {
|
if (SDK_INT < 28) {
|
||||||
@@ -50,6 +51,7 @@ public class Reflection {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({"deprecation", "ResultOfMethodCallIgnored"})
|
||||||
private static boolean unsealByDexFile(Context context) {
|
private static boolean unsealByDexFile(Context context) {
|
||||||
byte[] bytes = Base64.decode(DEX, Base64.NO_WRAP);
|
byte[] bytes = Base64.decode(DEX, Base64.NO_WRAP);
|
||||||
File codeCacheDir = getCodeCacheDir(context);
|
File codeCacheDir = getCodeCacheDir(context);
|
||||||
@@ -74,7 +76,6 @@ public class Reflection {
|
|||||||
return false;
|
return false;
|
||||||
} finally {
|
} finally {
|
||||||
if (code.exists()) {
|
if (code.exists()) {
|
||||||
//noinspection ResultOfMethodCallIgnored
|
|
||||||
code.delete();
|
code.delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user