From c288d3e047cc595a334391c4534cf180c2f53b22 Mon Sep 17 00:00:00 2001
From: arm64v8a <48624112+arm64v8a@users.noreply.github.com>
Date: Sat, 22 Oct 2022 08:43:32 +0900
Subject: [PATCH] update
---
libs/build_go.sh | 2 +-
translations/zh_CN.ts | 4 ++++
ui/edit/edit_chain.ui | 4 ++--
ui/edit/edit_custom.cpp | 2 +-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/libs/build_go.sh b/libs/build_go.sh
index a44ef5c..aae8330 100755
--- a/libs/build_go.sh
+++ b/libs/build_go.sh
@@ -31,5 +31,5 @@ popd
#### Go: nekobox_core ####
pushd go/cmd/nekobox_core
-go build -v -o $DEST -trimpath -ldflags "-w -s -X neko/pkg/neko_common.Version_neko=$version_standalone" -tags "with_gvisor,with_quic,with_wireguard,with_v2ray_api"
+go build -v -o $DEST -trimpath -ldflags "-w -s -X neko/pkg/neko_common.Version_neko=$version_standalone" -tags "with_gvisor,with_quic,with_wireguard,with_v2ray_api,with_ech,with_utls"
popd
diff --git a/translations/zh_CN.ts b/translations/zh_CN.ts
index fd55489..15d59fb 100644
--- a/translations/zh_CN.ts
+++ b/translations/zh_CN.ts
@@ -591,6 +591,10 @@
Please pick a core.
请选择一个核心。
+
+ Outbound JSON, please read the documentation.
+ 填写出站 JSON 对象,详细请看文档。
+
EditNaive
diff --git a/ui/edit/edit_chain.ui b/ui/edit/edit_chain.ui
index 49b9669..f5d0d64 100644
--- a/ui/edit/edit_chain.ui
+++ b/ui/edit/edit_chain.ui
@@ -7,7 +7,7 @@
0
0
400
- 476
+ 400
@@ -26,7 +26,7 @@
0
- 400
+ 300
diff --git a/ui/edit/edit_custom.cpp b/ui/edit/edit_custom.cpp
index eea61f3..07fa9ac 100644
--- a/ui/edit/edit_custom.cpp
+++ b/ui/edit/edit_custom.cpp
@@ -63,7 +63,7 @@ void EditCustom::onStart(QSharedPointer _ent) {
// custom internal
if (preset_core == "internal") {
ui->core->hide();
- ui->core_l->hide();
+ ui->core_l->setText(tr("Outbound JSON, please read the documentation."));
ui->command->hide();
ui->command_l->hide();
}