mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
chore/docs
This commit is contained in:
1 parent
47fc9db2fb
commit
fd5554b104
5 files changed
+26
-18
No files matched your search
+3
-1
@@ -19,4 +19,6 @@ node_modules
|
||||
# Output
|
||||
V2RayA_*
|
||||
v2raya_*
|
||||
apt
|
||||
installer_*
|
||||
apt
|
||||
V2RayA
|
||||
+10
-10
@@ -28,14 +28,14 @@ install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go get github.com/mitchellh/gox ;fi
|
||||
- gem install fpm
|
||||
script:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd service && gox -osarch="linux/amd64 linux/arm" -mod=vendor -ldflags="-X V2RayA/global.Version=${VERSION:1}" && cp -r V2RayA_* ../ ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd service && CGO_ENABLED=0 go build -mod=vendor -a -ldflags='-extldflags "-static" -X global.Version=${VERSION:1}' -o v2raya && cp v2raya ../V2RayA_darwin_amd64 ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd service && gox -osarch="linux/amd64 linux/arm" -mod=vendor -ldflags="-X V2RayA/global.Version=${VERSION:1}" -output="../{{.Dir}}_{{.OS}}_{{.Arch}}" ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd service && CGO_ENABLED=0 go build -mod=vendor -a -ldflags='-extldflags "-static" -X global.Version=${VERSION:1}' -o ../V2RayA_darwin_amd64 ; fi
|
||||
- cd ../
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then files="V2RayA_linux_amd64=/usr/bin/v2raya install/v2raya.service=/etc/systemd/system/v2raya.service" ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then files="V2RayA_darwin_amd64=/usr/bin/v2raya install/v2raya.service=/etc/systemd/system/v2raya.service" ; fi
|
||||
- params="-f -n $NAME -v ${VERSION:1} --after-install install/after_install.sh --before-remove install/before_remove.sh --after-remove install/after_remove.sh --after-upgrade install/after_upgrade.sh $files"
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then fpm -s dir -t deb -p v2raya_debian.deb $params && fpm -s dir -t rpm -p v2raya_redhat.rpm $params && fpm -s dir -t pacman -p v2raya_arch.pkg.tar.xz $params && fpm -s dir -t freebsd -p v2raya_freebsd.txz $params ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo -E fpm -s dir -t osxpkg -p v2raya_osx.pkg $params ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then fpm -s dir -t deb -p installer_debian.deb $params && fpm -s dir -t rpm -p installer_redhat.rpm $params && fpm -s dir -t pacman -p installer_arch.pkg.tar.xz $params && fpm -s dir -t freebsd -p installer_freebsd.txz $params ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo -E fpm -s dir -t osxpkg -p installer_osx.pkg $params ; fi
|
||||
|
||||
|
||||
before_deploy:
|
||||
@@ -49,7 +49,7 @@ before_deploy:
|
||||
gpg2 --import key/public-key.asc &&
|
||||
../install/gpg2_expect --allow-secret-key-import --import ../install/private-key.asc &&
|
||||
../install/reprepro_expect --ask-passphrase -Vb . export &&
|
||||
../install/reprepro_expect --ask-passphrase -Vb . includedeb v2raya ../v2raya_debian.deb &&
|
||||
../install/reprepro_expect --ask-passphrase -Vb . includedeb v2raya ../installer_debian.deb &&
|
||||
cd ../;
|
||||
fi
|
||||
|
||||
@@ -70,10 +70,10 @@ deploy:
|
||||
file:
|
||||
- "V2RayA_linux_amd64"
|
||||
- "V2RayA_linux_arm"
|
||||
- "v2raya_debian.deb"
|
||||
- "v2raya_freebsd.txz"
|
||||
- "v2raya_redhat.rpm"
|
||||
- "v2raya_arch.pkg.tar.xz"
|
||||
- "installer_debian.deb"
|
||||
- "installer_freebsd.txz"
|
||||
- "installer_redhat.rpm"
|
||||
- "installer_arch.pkg.tar.xz"
|
||||
skip_cleanup: true
|
||||
overwrite: true
|
||||
on:
|
||||
@@ -84,7 +84,7 @@ deploy:
|
||||
secure: dI7F0zR8lks/+Nk1RZ41V8jidKSXJRDkUFhjRkQFLO3NE2wCwlftSCEMhRa0ULqyskCmboKmVAAbCZupttFynWaj9ttpa2UWng+EfNtwEOvB0wp8b2CCV13Y/ncvaofIULWGJsjNbPAILkMp4YTfs92GslxGcLAJqAL3/P7O3Tx8AO7l7WzkVOC31sO5ZApb4kzb58T5IWY7mDZ9gSvjC4iyBGMwFG8YZXmknxTHVsDNWXvZwmScDB3VTu+X6U3aEVvdOYlmcqxDOzc8ZFGSpw6R4Dy2/KUH99UtofrF/buQauPmUq8Znu8u0LePtNI9ePxACqokPo8e+4MyE1ipVgoirgZmS2ICLnXTsSrwmNQ8S3+alOZW/+Kfo1v9Besfia9DoWUxOinRlGLVmnWFbMasRxKsqLfR2q3rSpWU4cKbH5WpxHewBnYqa86Xwp9G2O4MLpe6Ct7MLOiLonBXnUb2hXZGri8y87lTAUugxj/wSqXucw5SSDbRJT9v6Zwk5Eaj7Fc8QNTt7eqhVvmE8UucQPy1TL3gkTYFtUDkngWV0d0Y4JOHQW4ZUd28WLWIEyFoLZ8ZUT/kx87E69BhsqTq5S6tFRmWUXNLUpSrxJq29UdFy6zgNJhxgxxXXVpUH6wYHqV7nDCsZygJ5Z+iTTbkt+e1bIkhXbf/fM4+Yws=
|
||||
file:
|
||||
- "V2RayA_darwin_amd64"
|
||||
- "v2raya_osx.pkg"
|
||||
- "installer_osx.pkg"
|
||||
skip_cleanup: true
|
||||
overwrite: true
|
||||
on:
|
||||
|
||||
@@ -4,7 +4,9 @@ V2RayA 是 V2Ray 的一个 Web 客户端。
|
||||
|
||||
尽管 V2Ray 的客户端很多,但在 Linux 上好用的却寥寥无几。jiangxufeng/v2rayL 是目前 Linux 上较好的一个客户端,但暂时无法满足我对用户体验的较高要求,决定手撸一个。
|
||||
|
||||
虽然 V2RayA 是一个 Web 客户端,但它支持以 PWA(Progressive Web App)的方式享受桌面端应用的体验。[食用方法](https://www.ithome.com/0/414/429.htm)
|
||||
虽然 V2RayA 是一个 Web 客户端,它也支持以 PWA(Progressive Web App)的方式享受桌面端应用的体验。[食用方法](https://www.ithome.com/0/414/429.htm)
|
||||
|
||||
得益于Web客户端的优势,你只需对前端稍作修改,就可以将它部署在软路由或NAS上,并通过http访问。
|
||||
|
||||
项目地址:https://github.com/mzz2017/V2RayA
|
||||
|
||||
@@ -31,10 +33,10 @@ V2RayA 是 V2Ray 的一个 Web 客户端。
|
||||
- [x] 同时开放 socks5、http、带 PAC 的 http 三个端口(PAC 模式可选 GFWList、大陆白名单)
|
||||
- [x] 服务端启动自动检查 PAC、订阅更新
|
||||
- [x] 多路复用、TCPFastOpen 支持
|
||||
- [x] 以service方式启动
|
||||
|
||||
待开发:
|
||||
|
||||
- [ ] 以service方式启动
|
||||
- [ ] 检查版本更新
|
||||
- [ ] 手动添加/修改节点
|
||||
- [ ] 测试节点 HTTP 时延
|
||||
@@ -153,15 +155,15 @@ V2RayA 是 V2Ray 的一个 Web 客户端。
|
||||
### 已知问题
|
||||
|
||||
- 在 windows 环境下无法监听 2017 端口。据了解,Caddy 的 2015 端口也是不能监听的,后期将考虑支持自定义端口以解决问题。
|
||||
- 在使用 GoLand 进行开发调试时,**如果开启了全局透明代理**,由于程序捕获不了 GoLand 的结束 signal,在程序退出后将无法恢复正常网络,因此建议使用`killall ___go_build_V2R`来结束进程。如已中招重启系统即可。不开启全局透明代理可不受影响。
|
||||
- 在使用 GoLand 进行开发调试时,**如果开启了全局透明代理**,由于进程捕获不了 GoLand 的结束 signal,在进程退出后将无法恢复正常网络,因此建议使用`killall ___go_build_V2R`来结束进程。如已中招重启系统即可。不开启全局透明代理可不受影响。
|
||||
|
||||
## 注意
|
||||
|
||||
应用不会将任何用户数据保存在云端,所有用户数据存放在用户本地配置文件中。若服务端运行于 docker,则当 docker 容器被清除时配置也将随之消失,请做好备份。
|
||||
1. 应用不会将任何用户数据保存在云端,所有用户数据存放在用户本地配置文件中。若服务端运行于 docker,则当 docker 容器被清除时配置也将随之消失,请做好备份。
|
||||
|
||||
提供的[GUI demo](https://v2raya.mzz.pub)是由[Render](https://render.com/)在本 Github 项目自动部署完成的,如果担心安全性可以自行部署。
|
||||
2. 提供的[GUI demo](https://v2raya.mzz.pub)是由[Render](https://render.com/)在本 Github 项目自动部署完成的,如果担心安全性可以自行部署。
|
||||
|
||||
不要将本项目用于不合法用途,作者仅将该项目用于学习研究和内网穿透的用途。
|
||||
3. **不要将本项目用于不合法用途。**
|
||||
|
||||
# 在 docker 环境中开发
|
||||
|
||||
|
||||
@@ -450,6 +450,7 @@ export default {
|
||||
connectedServer: this.tableData.connectedServer,
|
||||
lastConnectedServer: null
|
||||
};
|
||||
this.updateConnectView();
|
||||
} else {
|
||||
this.$buefy.toast.open({
|
||||
message: res.data.message,
|
||||
|
||||
@@ -65,5 +65,8 @@ func DeleteWhich(ws []configure.Which) (err error) {
|
||||
return
|
||||
}
|
||||
}
|
||||
return configure.SetConnect(cs) //由于删除了一些servers或subscriptions,当前which可能会有下标上的变化
|
||||
if configure.GetConnectedServer() != nil { //如果已经disconnect了,就不要再set回去了
|
||||
err = configure.SetConnect(cs) //由于删除了一些servers或subscriptions,当前which可能会有下标上的变化
|
||||
}
|
||||
return
|
||||
}
|
||||
Reference in new issue
Block a user