打包准备

This commit is contained in:
lwch
2021-09-30 10:10:27 +08:00
parent 5e0e9fda21
commit a24370fb26
4 changed files with 9 additions and 7 deletions
+5 -1
View File
@@ -29,4 +29,8 @@
1. 新增action参数用于注册系统服务,删除原有init.d启动脚本
2. 提取link_id为基础字段,修改协议数据包格式
**注:由于提取link_id作为基础字段,因此v0.2.0版本与旧版本的程序不能混用**
**注:由于提取link_id作为基础字段,因此v0.2.0版本与旧版本的程序不能混用**
# v0.3.0
1. 增加shell隧道的支持
+2 -4
View File
@@ -71,10 +71,6 @@ server端配置(10.0.1.1)
11. 172.168.1.100上的np-cli接收到connect_response消息后根据是否成功来决定是否需要断开rdp客户端链接
12. 链路打通,两端各自发送data消息到对应链路
## 编译
./build
## 链接配置
link:
@@ -137,6 +133,8 @@ shell隧道用于创建一个网页端的命令行操作页面
- windows系统:优先查找powershell命令,若没有则查找cmd命令,否则报错
7. `env`: 进程启动时的环境变量设置
连接成功后即可使用浏览器访问`local_port`所对应的端口来创建shell隧道
linux命令行效果
![linux-shell](docs/shell_linux.png)
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
VERSION="0.0.1"
VERSION="0.3.0"
HASH=`git log -n1 --pretty=format:%h`
REVERSION=`git log --oneline|wc -l|tr -d ' '`
BUILD_TIME=`date +'%Y-%m-%d %H:%M:%S'`
+1 -1
View File
@@ -19,7 +19,7 @@ import (
"github.com/lwch/runtime"
)
const version = "0.2.0"
const version = "0.3.0"
const buildDir = "tmp"
const releaseDir = "release"