mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-04 22:00:43 +00:00
change all version
This commit is contained in:
parent
f7412501e7
commit
b2d1de472b
2
build.sh
2
build.sh
@ -1,5 +1,5 @@
|
|||||||
#/bash/sh
|
#/bash/sh
|
||||||
export VERSION=0.26.0
|
export VERSION=0.26.1
|
||||||
|
|
||||||
sudo apt-get install gcc-mingw-w64-i686
|
sudo apt-get install gcc-mingw-w64-i686
|
||||||
env GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc go build -ldflags "-s -w -extldflags -static -extldflags -static" -buildmode=c-shared -o npc_sdk.dll cmd/npc/sdk.go
|
env GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc go build -ldflags "-s -w -extldflags -static -extldflags -static" -buildmode=c-shared -o npc_sdk.dll cmd/npc/sdk.go
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||

|

|
||||||
|
|
||||||
# NPS <small>0.26.0</small>
|
# NPS <small>0.26.1</small>
|
||||||
|
|
||||||
> 一款轻量级、高性能、功能强大的内网穿透代理服务器
|
> 一款轻量级、高性能、功能强大的内网穿透代理服务器
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ target_ip=10.1.50.2
|
|||||||
```
|
```
|
||||||
## KCP协议支持
|
## KCP协议支持
|
||||||
|
|
||||||
KCP 是一个快速可靠协议,能以比 TCP浪费10%-20%的带宽的代价,换取平均延迟降低 30%-40%,在弱网环境下对性能能有一定的提升。可在nps.conf中修改`bridge_type`为kcp
|
在网络质量非常好的情况下,例如专线,内网,可以开启略微降低延迟。如需使用可在nps.conf中修改`bridge_type`为kcp
|
||||||
,设置后本代理将开启udp端口(`bridge_port`)
|
,设置后本代理将开启udp端口(`bridge_port`)
|
||||||
|
|
||||||
注意:当服务端为kcp时,客户端连接时也需要使用相同配置,无配置文件模式加上参数type=kcp,配置文件模式在配置文件中设置tp=kcp
|
注意:当服务端为kcp时,客户端连接时也需要使用相同配置,无配置文件模式加上参数type=kcp,配置文件模式在配置文件中设置tp=kcp
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<manifest
|
<manifest
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:versionCode="1"
|
android:versionCode="1"
|
||||||
android:versionName="0.26.0"
|
android:versionName="0.26.1"
|
||||||
package="org.nps.client"
|
package="org.nps.client"
|
||||||
platformBuildVersionCode="15"
|
platformBuildVersionCode="15"
|
||||||
platformBuildVersionName="4.0.4-1406430">
|
platformBuildVersionName="4.0.4-1406430">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package version
|
package version
|
||||||
|
|
||||||
const VERSION = "0.26.0"
|
const VERSION = "0.26.1"
|
||||||
|
|
||||||
// Compulsory minimum version, Minimum downward compatibility to this version
|
// Compulsory minimum version, Minimum downward compatibility to this version
|
||||||
func GetVersion() string {
|
func GetVersion() string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user