feat: command & mcp
This commit is contained in:
14
.claude/commands/run.md
Normal file
14
.claude/commands/run.md
Normal file
@@ -0,0 +1,14 @@
|
||||
清理构建缓存,重新打包 Debug 版本,安装到 Android 设备并启动应用
|
||||
|
||||
先检查是否有已连接的设备,然后执行清理、构建、安装并启动应用。
|
||||
|
||||
```bash
|
||||
# 检查设备连接
|
||||
adb devices -l
|
||||
|
||||
# 清理 + 安装
|
||||
./gradlew clean installDebug
|
||||
|
||||
# 启动应用(通过 Launcher Intent)
|
||||
adb shell monkey -p com.lukouguoji.aerologic -c android.intent.category.LAUNCHER 1
|
||||
```
|
||||
Reference in New Issue
Block a user