Skip to content

Commit 387f058

Browse files
committed
Add readme cn
1 parent 3cb5ba9 commit 387f058

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Smali2Java is a vscode extension that allows you to decompile a single `smali` file into Java code, which can be useful especially if you want to check that your modified smali code is correct.
44

5+
[中文说明](/README_CN.md)
6+
57
## Install
68
https://marketplace.visualstudio.com/items?itemName=ooooonly.smali2java
79

@@ -15,8 +17,6 @@ https://marketplace.visualstudio.com/items?itemName=ooooonly.smali2java
1517

1618
![Usage](./res/snapshot/usage.gif)
1719

18-
> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
19-
2020
## Requirements
2121

2222
Download [jadx](https://github.com/skylot/jadx), unzip it somewhere, and modify the configuration item `smali2java.jadxPath` to point to the path of the Jadx executable (not jadx-gui).

README_CN.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Smali2Java
2+
3+
smali2java是一个vscode插件,允许你随时将一个`smali`文件反编译为java代码,这在测试`smali`修改效果时很有帮助。
4+
5+
## 插件安装
6+
https://marketplace.visualstudio.com/items?itemName=ooooonly.smali2java
7+
8+
## 使用方法
9+
10+
1.`smali2java.jadxPath`配置项设置为`jadx`可执行文件路径.
11+
12+
> [jadx](https://github.com/skylot/jadx) 是一个优秀的反编译工具,在 `使用前提`处查看配置方法。
13+
14+
2. 使用vscode打开smali文件。在右键菜单中选择 `Decompile to Java` 。或者直接点击标题栏上的 `Decompile` 按钮.
15+
16+
![Usage](./res/snapshot/usage.gif)
17+
18+
## 使用前提
19+
20+
下载 [jadx](https://github.com/skylot/jadx), 解压至某处, 修改配置项 `smali2java.jadxPath` 为你的jadx可执行文件路径 (不是 jadx-gui)。
21+
- 比如: C:/Program Files/jadx/bin/jadx.bat
22+
23+
## 插件设置
24+
25+
* `smali2java.jadxPath`: 设置jadx可执行文件路径
26+
* `smali2java.jadxOptions`: 设置jadx命令行额外参数

0 commit comments

Comments
 (0)