Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
easyworld committed Dec 30, 2017
1 parent 4308836 commit dea099a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ adb pull /sdcard/screen.png # 下载截屏文件到本地
2. 打开安卓手机的usb调试模式并授权连接的电脑
> 如果是小米手机,在USB调试下方有``USB调试(安全设置)``打开允许模拟点击 感谢[@wotermelon](https://github.com/wotermelon)
3. 打开微信跳一跳,并点击开始
4. 在Constans.java中配置好adb路径与截图路径,运行BackgroundImage4Panel.java的main方法
4. 输入命令
```
java -jar playJumpJumpWithMouse.jar -a <your adb path>
windows eg: java -jar playJumpJumpWithMouse.jar -a "C:\Users\Home\Desktop\platform-tools\adb.exe"
```
> 如果想调整其他参数可以使用 java -jar playJumpJumpWithMouse.jar -h 查看更多选项
5. 在弹出的窗口中先点击小人底部适当位置,然后再点想要跳的箱子的位置即可完成

## 运行截图
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static void main(String[] args) {
opt.setRequired(true);
options.addOption(opt);

opt = new Option("o", "screenshot-path", false,
opt = new Option("o", "screenshot-path", true,
"screenshot path, eg: C:\\Users\\RoyZ\\Desktop\\untitled\\s.png");
opt.setRequired(false);
options.addOption(opt);
Expand Down

0 comments on commit dea099a

Please sign in to comment.