This commit is contained in:
arm64v8a
2022-10-13 17:18:01 +08:00
parent e2c227714c
commit adfc2e3601
6 changed files with 24 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
---
name: Bug report zh_CN
about: 问题反馈
name: Bug Report zh_CN
about: 问题反馈,在提出问题前请先自行排除服务器端问题和升级到最新客户端。
title: ''
labels: ''
assignees: ''
@@ -19,4 +19,4 @@ assignees: ''
**日志**
如果有日志,请上传。导出日志的详细步骤在文档有
如果有日志,请上传。请在文档内查看导出日志的详细步骤。

View File

@@ -0,0 +1,12 @@
---
name: Feature Request zh_CN
about: 功能请求,提出建议。
title: ''
labels: ''
assignees: ''
---
**描述建议**
**建议的必要性**

View File

@@ -16,9 +16,9 @@ Support Windows / Linux amd64 out of the box now.
便携格式,无安装器。转到 Releases 下载预编译的二进制文件,解压后即可使用。
### GitHub Releases 下载
### GitHub Releases
[![GitHub All Releases](https://img.shields.io/github/downloads/Matsuridayo/nekoray/total?label=downloads-total&logo=github&style=flat-square)](https://github.com/Matsuridayo/nekoray/releases)
[![GitHub All Releases](https://img.shields.io/github/downloads/Matsuridayo/nekoray/total?label=downloads-total&logo=github&style=flat-square)](https://github.com/Matsuridayo/nekoray/releases) [Download](https://github.com/Matsuridayo/nekoray/releases)
## 更改记录 & 发布频道 Changelog & Telegram channel
@@ -54,6 +54,8 @@ launcher 参数
已知部分 Linux 发行版无法使用预编译版、非 x86_64 暂无适配,可以尝试自行编译。
Ubuntu 22.04: `sudo apt install libxcb-xinerama0`
## 编译教程
[Linux](examples/docs/Build_Linux.md)

View File

@@ -87,7 +87,7 @@ namespace NekoRay::fmt {
{"type", "vmess"},
{"server", serverAddress},
{"server_port", serverPort},
{"uuid", uuid},
{"uuid", uuid.trimmed()},
{"alter_id", aid},
{"security", security},
};
@@ -107,7 +107,7 @@ namespace NekoRay::fmt {
QJsonObject settings;
if (proxy_type == proxy_VLESS) {
outbound["uuid"] = password;
outbound["uuid"] = password.trimmed();
} else {
outbound["password"] = password;
}

View File

@@ -139,7 +139,7 @@ namespace NekoRay::fmt {
{"port", serverPort},
{"users", QJsonArray{
QJsonObject{
{"id", uuid},
{"id", uuid.trimmed()},
{"alterId", aid},
{"security", security},
}
@@ -169,7 +169,7 @@ namespace NekoRay::fmt {
{"port", serverPort},
{"users", QJsonArray{
QJsonObject{
{"id", password},
{"id", password.trimmed()},
{"encryption", "none"},
}
}},

View File

@@ -28,6 +28,7 @@ namespace NekoRay::fmt {
if (link.startsWith("socks4")) socks_http_type = type_Socks4;
if (link.startsWith("http")) socks_http_type = type_HTTP;
name = url.fragment(QUrl::FullyDecoded);
serverAddress = url.host();
serverPort = url.port();
username = url.userName();