-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.yaml.example
More file actions
63 lines (56 loc) · 1.3 KB
/
settings.yaml.example
File metadata and controls
63 lines (56 loc) · 1.3 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Android 模拟器配置
emulator:
serial: '127.0.0.1:7555'
# 检测关键字配置
detection:
timeout: 60
click_wait: 5
# 点击跳过按钮时匹配的关键字
skip_keywords:
- "完成"
- "关闭"
- "取消"
- "同意"
- "知道了"
- "关闭应用"
- "去开启"
- "下一步"
- "确定"
- "允许"
# 下载/更新按钮匹配的关键字
download_keywords:
- "立即升级"
- "继续安装"
- "立即更新"
- "立即安装"
- "去更新"
- "下载更新"
- "更新"
# 更新列表匹配的关键字
update_keywords:
- "更新"
# 过滤包名列表(不在这些包名中查找更新)
filter_packages: []
# 是否为测试模式(1=测试,0=生产)
istest: 1
# 自动循环采集
loop_enabled: true
loop_interval: 300 # 循环间隔(秒)
# SFTP 上传配置
sftp:
host: 'YOUR_SFTP_HOST'
port: 22
user: 'YOUR_SFTP_USER'
password: 'YOUR_SFTP_PASSWORD'
remote_dir: '/home/down/emulator'
remote_screenshots_dir: '/home/apkicon/'
# Redis 队列配置
redis:
host: 'localhost'
port: 6379
db: 0
# API 上报配置
api:
url: 'http://YOUR_API_HOST/api/apk/localTask/apkUpdate'
share_url: 'http://YOUR_API_HOST/api/pick/callback/appUrl'
download_url: 'http://YOUR_API_HOST/api/pick/callback/appInfo'