Skip to content

Commit

Permalink
Merge pull request #45 from cwlm/dev
Browse files Browse the repository at this point in the history
better config file
  • Loading branch information
cwlm authored Sep 23, 2024
2 parents 77ca92d + cec5a6d commit 1537908
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions documents/使用方法.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,18 @@ print(sjtuautorun.__version__)

```yaml
emulator:
emulator_dir: "" #留空时会使用注册表定位雷电模拟器,并自动填写
emulator_name: emulator-5554 # 雷电模拟器使用多开器请填写该项, 不多开默认为 "emulator-5554"
emulator_dir: "" #雷电模拟器安装路径,默认从注册表中获取
emulator_index: 1 #雷电模拟器使用多开器请修改该项为对应的模拟器id

DELAY: 1.5
PLAN_ROOT: #如果你的计划文件不在默认路径下,请在这里指定
plan: "default" # 你的计划文件名,不包括后缀

# ========== Logger设置 ==========
LOG_PATH: "log"
DELAY: 1.5
PLAN_ROOT: "C:/path/to/your/plans" # 计划根目录, 如果缺省则默认为 [python packages 目录]/sjtuautorun/data/plans
plan: "宣怀大道" # 执行计划为"宣怀大道.yaml"
DEBUG: True
SHOW_ANDROID_INPUT: True
log_level: DEBUG #调试模式 log_level 应该设置为 DEBUG
```
在上例中,计划位于
Expand Down

0 comments on commit 1537908

Please sign in to comment.