-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #401 from ehang-io/dev
Dev
- Loading branch information
Showing
28 changed files
with
147 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
#/bin/bash | ||
#sudo apt-get install libgl1-mesa-dev xorg-dev | ||
#go get github.com/ffdfgdfg/fyne-cross | ||
#fyne-cross --targets=linux/amd64,windows/amd64,darwin/amd64 gui/npc/npc.go | ||
|
||
cd /go | ||
apt-get install libegl1-mesa-dev libgles2-mesa-dev libx11-dev -y | ||
#go get -u fyne.io/fyne/cmd/fyne fyne.io/fyne | ||
mkdir -p /go/src/fyne.io | ||
cd src/fyne.io | ||
git clone https://github.com/fyne-io/fyne.git | ||
cd fyne | ||
git checkout v1.2.0 | ||
go install -v ./cmd/fyne | ||
go get -u fyne.io/fyne/cmd/fyne fyne.io/fyne | ||
#mkdir -p /go/src/fyne.io | ||
#cd src/fyne.io | ||
#git clone https://github.com/fyne-io/fyne.git | ||
#cd fyne | ||
#git checkout v1.2.0 | ||
#go install -v ./cmd/fyne | ||
#fyne package -os android fyne.io/fyne/cmd/hello | ||
echo "fyne install success" | ||
mkdir -p /go/src/ehang.io/nps | ||
|
@@ -32,8 +29,6 @@ rm -rf vendor | |
#rm -rf ~/.cache/* | ||
echo "vendor success" | ||
cd gui/npc | ||
#rm -rf /go/src/golang.org/x/mobile | ||
#go get -u fyne.io/fyne/cmd/[email protected] | ||
#export ANDROID_NDK_HOME=/usr/local/android_sdk/ndk-bundle | ||
fyne package -appID org.nps.client -os android -icon ../../docs/logo.png | ||
mv npc.apk /app/android_client.apk | ||
echo "android build success" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
![logo](logo.svg) | ||
|
||
# NPS <small>0.26.1</small> | ||
# NPS <small>0.26.2</small> | ||
|
||
> 一款轻量级、高性能、功能强大的内网穿透代理服务器 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
|
||
* 其他 | ||
|
||
* [FAQ](faq.md) | ||
* [贡献](contribute.md) | ||
* [捐助](donate.md) | ||
* [致谢](thanks.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# FAQ | ||
|
||
- 服务端无法启动 | ||
``` | ||
服务端默认配置启用了8024,8080,80,443端口,端口冲突无法启动,请修改配置 | ||
``` | ||
- 客户端无法连接服务端 | ||
``` | ||
请检查配置文件中的所有端口是否在安全组,防火墙放行 | ||
请检查vkey是否对应 | ||
请检查版本是否对应 | ||
``` | ||
- 服务端配置文件修改无效 | ||
``` | ||
install 之后,Linux 配置文件在 /etc/nps | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.