From caa412953dff7c4cf87f6d6ea1ea350699bce117 Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Wed, 1 Feb 2023 02:35:05 +0800 Subject: [PATCH] Update xposed-using documentation --- docs-source/src/en/config/xposed-using.md | 12 ++++++++++++ docs-source/src/zh-cn/config/xposed-using.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/docs-source/src/en/config/xposed-using.md b/docs-source/src/en/config/xposed-using.md index 125e9d03..bdfff3d3 100644 --- a/docs-source/src/en/config/xposed-using.md +++ b/docs-source/src/en/config/xposed-using.md @@ -236,6 +236,18 @@ class _YukiHookXposedInit : IXposedHookZygoteInit, IXposedHookLoadPackage { } ``` +::: tip + +Since the Xposed entry class is dynamically generated by **YukiHookAPI**, it will generate the following two files at the same time. + +- **assets/xposed_init** + +- **resources/META-INF/yukihookapi_init** + +If you are using **Git** code control system, you can add these two files to **.gitignore** file. + +::: + ### IYukiHookXposedInit Interface The `IYukiHookXposedInit` interface that your Hook entry class must implements it, which is the entry point for your Module App to start hooking. diff --git a/docs-source/src/zh-cn/config/xposed-using.md b/docs-source/src/zh-cn/config/xposed-using.md index 5d58fea9..7420ea6c 100644 --- a/docs-source/src/zh-cn/config/xposed-using.md +++ b/docs-source/src/zh-cn/config/xposed-using.md @@ -230,6 +230,18 @@ class _YukiHookXposedInit : IXposedHookZygoteInit, IXposedHookLoadPackage { } ``` +::: tip + +由于 Xposed 入口类是被 **YukiHookAPI** 动态生成的,它会同时生成如下两个文件。 + +- **assets/xposed_init** + +- **resources/META-INF/yukihookapi_init** + +如果你正在使用 **Git** 代码控制系统,你可以将这两个文件添加到 **.gitignore** 文件中。 + +::: + ### IYukiHookXposedInit 接口 `IYukiHookXposedInit` 接口为你的 Hook 入口类必须实现的接口,这是你的模块开始 Hook 的起点。