forked from ArknightsAutoHelper/ArknightsAutoHelper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.bat
40 lines (40 loc) · 1.25 KB
/
start.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
echo ArknightsAutoHelper is going to run in 60 seconds, if you don't need it, close this cmd.
@echo off
timeout 60
rem 修改ArknightsAutoHelper的路径
cd E:\Projects\ArknightsAutoHelper
rem 修改ArknightsAutoHelper的盘符
E:
rem 打开夜神模拟器
start F:\Nox\bin\nox.exe
timeout 120
rem 打开明日方舟
F:\Nox\bin\adb.exe -s 127.0.0.1:62001 shell am start -n com.hypergryph.arknights/com.u8.sdk.U8UnityContext
timeout 120
rem 点击展示页
F:\Nox\bin\adb.exe -s 127.0.0.1:62001 shell input tap 932 679
timeout 30
rem 点击账号管理
F:\Nox\bin\adb.exe -s 127.0.0.1:62001 shell input tap 932 679
timeout 10
rem 点击账号登录
F:\Nox\bin\adb.exe -s 127.0.0.1:62001 shell input tap 411 507
timeout 10
rem 点击密码
F:\Nox\bin\adb.exe -s 127.0.0.1:62001 shell input tap 637 482
timeout 10
rem 输入密码
F:\Nox\bin\adb.exe -s 127.0.0.1:62001 shell input text ******
timeout 10
rem 点击密码
F:\Nox\bin\adb.exe -s 127.0.0.1:62001 shell input tap 637 482
timeout 10
rem 点击登录
F:\Nox\bin\adb.exe -s 127.0.0.1:62001 shell input tap 640 575
timeout 60
python start.py
timeout 10
rem 关闭夜神模拟器
taskkill /f /im nox.exe
rem 关闭电脑
shutdown /s /t 60 /c "All the actions in Arknights finished, the computer will shutdown in 60 seconds."