diff --git a/.github/ISSUE_TEMPLATE/bug-report-zh_cn.md b/.github/ISSUE_TEMPLATE/bug-report-zh_cn.md index 42e0a63..d9bbafd 100644 --- a/.github/ISSUE_TEMPLATE/bug-report-zh_cn.md +++ b/.github/ISSUE_TEMPLATE/bug-report-zh_cn.md @@ -1,6 +1,6 @@ --- -name: Bug report zh_CN -about: 问题反馈 +name: Bug Report zh_CN +about: 问题反馈,在提出问题前请先自行排除服务器端问题和升级到最新客户端。 title: '' labels: '' assignees: '' @@ -19,4 +19,4 @@ assignees: '' **日志** -如果有日志,请上传。导出日志的详细步骤在文档有。 \ No newline at end of file +如果有日志,请上传。请在文档内查看导出日志的详细步骤。 diff --git a/.github/ISSUE_TEMPLATE/feature_request-zh_cn.md b/.github/ISSUE_TEMPLATE/feature_request-zh_cn.md new file mode 100644 index 0000000..b8a79e8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request-zh_cn.md @@ -0,0 +1,12 @@ +--- +name: Feature Request zh_CN +about: 功能请求,提出建议。 +title: '' +labels: '' +assignees: '' + +--- + +**描述建议** + +**建议的必要性** diff --git a/README.md b/README.md index a76b0dc..6f6ec3c 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/fmt/Bean2CoreObj_box.cpp b/fmt/Bean2CoreObj_box.cpp index 3061c78..526684f 100644 --- a/fmt/Bean2CoreObj_box.cpp +++ b/fmt/Bean2CoreObj_box.cpp @@ -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; } diff --git a/fmt/Bean2CoreObj_ray.cpp b/fmt/Bean2CoreObj_ray.cpp index 44964b5..b371972 100644 --- a/fmt/Bean2CoreObj_ray.cpp +++ b/fmt/Bean2CoreObj_ray.cpp @@ -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"}, } }}, diff --git a/fmt/Link2Bean.cpp b/fmt/Link2Bean.cpp index 785902b..355b18c 100644 --- a/fmt/Link2Bean.cpp +++ b/fmt/Link2Bean.cpp @@ -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();