first commit
This commit is contained in:
1
config/.pydio
Normal file
1
config/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
fc3940ae-ad6b-4e14-945c-7d3b195ddf08
|
||||
27
config/index.js
Normal file
27
config/index.js
Normal file
@@ -0,0 +1,27 @@
|
||||
const config = {
|
||||
// 基础命令
|
||||
baseShell: {
|
||||
adbkeyboard: 'adb shell pm list packages adbkeyboard',
|
||||
adb: 'adb version'
|
||||
},
|
||||
// 功能性命令
|
||||
shellAction: {
|
||||
// 点击输入框
|
||||
tap: 'adb shell input tap',
|
||||
// 滑动页面
|
||||
swipe: 'adb shell input swipe',
|
||||
},
|
||||
// 坐标集合
|
||||
shellCoordinate: {
|
||||
// 先点赞,然后滑动下一个视频
|
||||
Fabulous: {
|
||||
tap: '988 1229', // 点赞按钮的坐标
|
||||
swipe: '868 1811 800 272', // 滑动页面
|
||||
}
|
||||
},
|
||||
startShell: (action, coordinate) => {
|
||||
return `${config.shellAction[action]} ${coordinate}`
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = config
|
||||
Reference in New Issue
Block a user