mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 13:04:37 +03:00
fix
This commit is contained in:
6
.github/ISSUE_TEMPLATE/bug-report-zh_cn.md
vendored
6
.github/ISSUE_TEMPLATE/bug-report-zh_cn.md
vendored
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: Bug report zh_CN
|
name: Bug Report zh_CN
|
||||||
about: 问题反馈
|
about: 问题反馈,在提出问题前请先自行排除服务器端问题和升级到最新客户端。
|
||||||
title: ''
|
title: ''
|
||||||
labels: ''
|
labels: ''
|
||||||
assignees: ''
|
assignees: ''
|
||||||
@@ -19,4 +19,4 @@ assignees: ''
|
|||||||
|
|
||||||
**日志**
|
**日志**
|
||||||
|
|
||||||
如果有日志,请上传。导出日志的详细步骤在文档有。
|
如果有日志,请上传。请在文档内查看导出日志的详细步骤。
|
||||||
|
|||||||
12
.github/ISSUE_TEMPLATE/feature_request-zh_cn.md
vendored
Normal file
12
.github/ISSUE_TEMPLATE/feature_request-zh_cn.md
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
name: Feature Request zh_CN
|
||||||
|
about: 功能请求,提出建议。
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**描述建议**
|
||||||
|
|
||||||
|
**建议的必要性**
|
||||||
@@ -16,9 +16,9 @@ Support Windows / Linux amd64 out of the box now.
|
|||||||
|
|
||||||
便携格式,无安装器。转到 Releases 下载预编译的二进制文件,解压后即可使用。
|
便携格式,无安装器。转到 Releases 下载预编译的二进制文件,解压后即可使用。
|
||||||
|
|
||||||
### GitHub Releases 下载
|
### GitHub Releases
|
||||||
|
|
||||||
[](https://github.com/Matsuridayo/nekoray/releases)
|
[](https://github.com/Matsuridayo/nekoray/releases) [Download](https://github.com/Matsuridayo/nekoray/releases)
|
||||||
|
|
||||||
## 更改记录 & 发布频道 Changelog & Telegram channel
|
## 更改记录 & 发布频道 Changelog & Telegram channel
|
||||||
|
|
||||||
@@ -54,6 +54,8 @@ launcher 参数
|
|||||||
|
|
||||||
已知部分 Linux 发行版无法使用预编译版、非 x86_64 暂无适配,可以尝试自行编译。
|
已知部分 Linux 发行版无法使用预编译版、非 x86_64 暂无适配,可以尝试自行编译。
|
||||||
|
|
||||||
|
Ubuntu 22.04: `sudo apt install libxcb-xinerama0`
|
||||||
|
|
||||||
## 编译教程
|
## 编译教程
|
||||||
|
|
||||||
[Linux](examples/docs/Build_Linux.md)
|
[Linux](examples/docs/Build_Linux.md)
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ namespace NekoRay::fmt {
|
|||||||
{"type", "vmess"},
|
{"type", "vmess"},
|
||||||
{"server", serverAddress},
|
{"server", serverAddress},
|
||||||
{"server_port", serverPort},
|
{"server_port", serverPort},
|
||||||
{"uuid", uuid},
|
{"uuid", uuid.trimmed()},
|
||||||
{"alter_id", aid},
|
{"alter_id", aid},
|
||||||
{"security", security},
|
{"security", security},
|
||||||
};
|
};
|
||||||
@@ -107,7 +107,7 @@ namespace NekoRay::fmt {
|
|||||||
|
|
||||||
QJsonObject settings;
|
QJsonObject settings;
|
||||||
if (proxy_type == proxy_VLESS) {
|
if (proxy_type == proxy_VLESS) {
|
||||||
outbound["uuid"] = password;
|
outbound["uuid"] = password.trimmed();
|
||||||
} else {
|
} else {
|
||||||
outbound["password"] = password;
|
outbound["password"] = password;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ namespace NekoRay::fmt {
|
|||||||
{"port", serverPort},
|
{"port", serverPort},
|
||||||
{"users", QJsonArray{
|
{"users", QJsonArray{
|
||||||
QJsonObject{
|
QJsonObject{
|
||||||
{"id", uuid},
|
{"id", uuid.trimmed()},
|
||||||
{"alterId", aid},
|
{"alterId", aid},
|
||||||
{"security", security},
|
{"security", security},
|
||||||
}
|
}
|
||||||
@@ -169,7 +169,7 @@ namespace NekoRay::fmt {
|
|||||||
{"port", serverPort},
|
{"port", serverPort},
|
||||||
{"users", QJsonArray{
|
{"users", QJsonArray{
|
||||||
QJsonObject{
|
QJsonObject{
|
||||||
{"id", password},
|
{"id", password.trimmed()},
|
||||||
{"encryption", "none"},
|
{"encryption", "none"},
|
||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ namespace NekoRay::fmt {
|
|||||||
|
|
||||||
if (link.startsWith("socks4")) socks_http_type = type_Socks4;
|
if (link.startsWith("socks4")) socks_http_type = type_Socks4;
|
||||||
if (link.startsWith("http")) socks_http_type = type_HTTP;
|
if (link.startsWith("http")) socks_http_type = type_HTTP;
|
||||||
|
name = url.fragment(QUrl::FullyDecoded);
|
||||||
serverAddress = url.host();
|
serverAddress = url.host();
|
||||||
serverPort = url.port();
|
serverPort = url.port();
|
||||||
username = url.userName();
|
username = url.userName();
|
||||||
|
|||||||
Reference in New Issue
Block a user