mirror of
https://gitee.com/BDWare/cp.git
synced 2025-12-27 17:46:45 +00:00
25 lines
603 B
Markdown
25 lines
603 B
Markdown
# 项目说明
|
||
## 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目录下)组成。
|