Update README.md

This commit is contained in:
vvb2060 2022-02-22 00:11:43 +08:00
parent c820d372af
commit 83cdee50eb
No known key found for this signature in database
GPG Key ID: 59B2BF15A79E26FA
2 changed files with 23 additions and 1 deletions

View File

@ -1,6 +1,10 @@
name: Build
on: [ push, pull_request ]
on:
push:
paths-ignore:
- 'README.md'
pull_request:
jobs:

View File

@ -3,6 +3,8 @@
![](https://img.shields.io/badge/license-LGPL--3.0-orange.svg)
![](https://img.shields.io/badge/Android-8.0%20--%2013-blue.svg)
![](https://img.shields.io/badge/arch-armeabi--v7a%20%7C%20arm64--v8a%20%7C%20x86%20%7C%20x86--64-brightgreen.svg)
![](https://github.com/LSPosed/LSPlant/actions/workflows/build.yml/badge.svg?branch=master&event=push)
![](https://img.shields.io/maven-central/v/org.lsposed.lsplant/lsplant)
LSPlant is an Android ART hook library, providing Java method hook/unhook and inline deoptimization.
@ -20,6 +22,22 @@ https://lsposed.org/LSPlant/namespacelsplant.html
## Quick Start
```gradle
repositories {
mavenCentral()
}
dependencies {
implementation "org.lsposed.lsplant:lsplant:1.0"
}
android {
buildFeatures {
prefab true
}
}
```
### 1. Init LSPlant within JNI_OnLoad
Initialize LSPlant for the proceeding hook. It mainly prefetch needed symbols and hook some functions.