Files
cp/README.md
2025-07-15 13:37:45 +08:00

25 lines
603 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 项目说明
## DebugRun说明
1.复制debugconf.json.template
```
copy debugconf.json.template debugconf.json
```
2.修改debugconf.json
```
{
"agentHttpAddr": "127.0.0.1:18000",
"script": "xxx/xx/xxxx.ypk", //ypk路径
"pubKey": "04d1xxx", //在agent有权限的pubkey
"privKey": "df8" //pubkey对应的privkey
}
```
3.设置DebugMain的路径为xxx/xxx/cp
```
执行DebugMain.main即可
```
## 构建可执行版本
执行`cp/build.gradle`中的`buildBundle`任务。
`cp/build/output`即为相关的jar包。
`yjs.jar`即cp.jar)和一系列依赖在libs目录下)组成。